The Angular router allows us to navigate between the routes using either RouterLink directive or imperatively using router.navigate or router.navigatebyUrl method of the router service. In this tutorial, we look at these methods more closely.
In this Angular HTTP tutorial, We learn how to use HTTP Module to query the Remote API source to get data into our Application. We also learn how to Subscribe to the Returned response using RxJs observables.
In this tutorial, we will look at Angular 2 Injector, one of the parts of the Angular 2 Dependency Injection Framework. The Angular 2 creates a tree of injector & Providers which resembles the Component Tree. This is called hierarchical pattern.
Angular 2 Providers allow you to define set of Dependencies. It provides the instance of dependencies to the injector when asked by the injector. We let angular know that, we have a dependency to be injected by registering the dependency with the Providers
In this tutorial, we look at how to use Angular 2 Dependency Injection Framework. We will update the service, which we created in the previous tutorial (Angular 2 Services) to use the Dependency injection.
Angular 2 is designed from the ground up to support and leverage dependency injection