The building blocks of Angular Applications consists of Components, Templates, Directives, Pipes, and Services. We build a lot of such blocks to create the complete application. As the application grows bigger in size managing these blocks become difficult. The Angular Provides a nice way organize these blocks in a simple and effectively using Angular modules (Also known as ngModules).
The Angular CLI is a command line interface for Angular developed by Angular Team. This tool helps us quickly get started with the creating the Angular Application. In this tutorial, we will learn how to create the Angular app using the ng new. How to add the module using ng generate module and how to add the component, directive & pipes using ng generate component, ng generate directive & ng generate pipe etc.
This post is a guide to how to modify the HTTP Request by intercepting the HTTP Request. The option to intercept the outgoing or incoming request was added in the new HttpClientModule. The Interceptor can be useful for adding custom headers to the outgoing request, logging the incoming response etc.
This post is a guide how to Pass the URL Parameters or Query string along with the HTTP Request using the HttpClient in Angular. We will be using HttpParams to add the query parameter, which is then used by the httpClient.get method to send a get request to the GitHub API.
The Angular HttpClient Module is introduced in the Angular 4.3. This new API is available in package @angular/common/http and intends to replace the older HttpModule. In this Tutorial on HttpClient we learn how to use HttpClient.Get method to query the GitHub API Source to get data into our Application. Like the older HtppModule, the newer HttpClientModule also uses the RxJs Observables. The Response returned from the HttpClient needs to be Subscribed. We will learn all these in this Tutorial.