Recent Posts

How to test NgRx

2 minute read

Ngrx is a framework for angular that helps to separate the backend logic from the frontend, making the code easier cleaner. To know more about how it works...

Java Arrays Lists & Streams Reference

less than 1 minute read

// Initialize Arrays Integer[] integerArray = {1, 2, 3, 4, 5}; System.out.println(Arrays.toString(integerArray)); // Initialize List List<Integer> int...

NgRx Explained

8 minute read

Often times, when our angular applications grows, our code become quite messy to follow. We have multiple components, referencing a myriad number of servic...

How to test HttpClient in Angular

1 minute read

This is a simple method to call http using the HttpClientModule. getBooks(): Observable<Book[]>{ return this.http.get<Book[]>(BooksService.b...

How to use environment variable in Angular

1 minute read

Angular automatically creates 2 files - environment.ts and environment.prod.ts, in the environment folder when the project is first created. Both of them has...