| 1. |
What Is An Angular 2 Component? |
|
Answer» Each component is comprised of a TEMPLATE, which is the HTML for the user interface. ADD to that a class for the code associated with a view. The class contains the properties and methods, which PERFORM actions for the view,A component also has METADATA, which provides additional information about the component to Angular. Each component is comprised of a template, which is the HTML for the user interface. Add to that a class for the code associated with a view. The class contains the properties and methods, which perform actions for the view,A component also has metadata, which provides additional information about the component to Angular. |
|