Told you, we love sharing!
AngularJSFront End DevelopmentTechnology
In this blog, we will go through the new dependency injection system of Angular 2. As we know DI is the heart of AngularJS. In Angular 1 we can inject dependency at multiple places in different ways such as: in the directive definition by name eg. [js]app.directive(‘questionTemplate’, [‘$http’, ‘Flash’, function($http, Flash) {}[/js] in the controller function […]