Angular 2 Quick Start Tutorial for Beginners

Поділитися
Вставка
  • Опубліковано 11 лют 2017
  • This video tutorial on Angular 2 quick start guide for beginners. A simple Angular 2 application that is bootstrapped to guide the developers in beginner level.
    What is Angular 2 component?
    Angular applications are made up of components. A component is the combination of an HTML template and a component class that controls a portion of the screen.
    Every component begins with an @Component decorator function that takes a metadata object.
    What is the purpose of metadata in angular 2?
    The metadata object describes how the HTML template and component class work together.
    What Angular 2 selector does?
    The selector property tells Angular to display the component inside a custom my-app tag in the index.html.
    What does Angular 2 HTML template purpose?
    The template property defines a message inside an h1 header. The message starts with "Hello" and ends with {{name}}, which is an Angular interpolation binding expression. At runtime, Angular replaces {{name}} with the value of the component's name property.

КОМЕНТАРІ •