Posted On: Feb 22, 2018
Apart from components, directives are also used in Angular 2 which allows us to attach behavior to elements in DOM. There are certain differences between the components and directives in Angular 2. They are:
Never Miss an Articles from us.
Angular 2 is a completely revived component-based framework in which an application is a tree of loosely coupled compon..
Angular 2 is a re-written version of Angular1 and not an update. The best way to compare Angular 2 and Angular 1 is by f..
Angular 2 is a platform that encompasses a wide range of capabilities. Some new features were added in Angular 2 which i..