List the differences between angular 2 components vs. Directives.
Answer / Dheeraj Pal Singh
*Components*: They have a template and style along with a class. They are independent entities that encapsulate behavior, state, and structure.n*Directives*: They extend HTML's capabilities by adding new attributes, elements, and even changing the behavior of existing ones. They don't have templates or styles.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is @outputs in angular 2?
Explain what is the difference between angularjs and backbone.js?
What is property binding in angular?
How to create a service using factory in angularjs?
What is AngularUI router and how it is different from ngRoute?
What is runguardsandresolvers?
How to handle and retry the failed request due to poor network connection in angular 4?
What is the difference between Kris Kowal's Q and $q?
Is react easier than javascript?
How are you managing cookie in AngularJS
Explain the types of linking function?
Mention some of the most commonly used directives in angularjs application?