Wednesday, January 25, 2017

Aanatomy of angular 2

Structure of Angular 2 application 

What is a Component ?

Template : is the html for the user interface
Class: Code associated with the view.
           Contains the properties, data elements and methods for the view
Metadata: Provides additional information about the component to angular.
                   Identifies the class as angular component

    Root components are called appcomponents


No comments:

Post a Comment