by Yogesh | Aug 7, 2018 | Angular 4 Tutorial
Fork joins in angular Fork joins in angular are used to help to handle the concurrent request. Sometimes various data is gathered from multiple sources in a single request and data must be displayed only when complete data successfully arrives on the webpage from all...
by Yogesh | Aug 7, 2018 | Angular 4 Tutorial
angular 4 caching using localstorage and rxjs operator In this blog , I am discussing a very important feature implementation in angular that may improve the performance of angular application. For example if we are getting data from web api using httpclient module...
by Yogesh | Aug 5, 2018 | Angular 4 Tutorial
lazy loading in angular By default, all the components of angular are loaded at the time of application startup. As we give all component declaration in the main module i.e app.module.ts, therefore, all the declared components in app.module.ts are loaded whenever the...
by Yogesh | Jul 31, 2018 | Angular 4 Tutorial
ViewChild allows a one component to be injected into another. This means we need to implement the AfterViewInit lifecycle hook to receive the data from the child. ngAfterViewInit() is called after a component’s view, and its children’s views, are created....
by Yogesh | Jul 31, 2018 | Angular 4 Tutorial
The ngClass too works on the same lines, except that it is used to toggle one or multiple classes. For example, check out the following code: import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-ngclassex', templateUrl:...