Simplify Angular Components with Route Resolvers
Simplify components with route resolvers

Simplify Angular Components with Route Resolvers

I often come across Angular components that retrieve data from a remote API inside the ngOnInit lifecycle hook. While this is an easy way to load data into the component, it can can increase the size of the code and breaks the single responsibility principle. A better approach is to…

0 Comments
Angular Routing and Navigation Tutorial
Angular Routing and Navigation

Angular Routing and Navigation Tutorial

Hands On with Angular Routing and Navigation Implement routing in Angular to enable navigation from one view to another. Users click buttons, anchor links and select options in drop-downs to perform tasks in web applications. Routing plays a key role in any modern web application and Angular makes it very…

0 Comments