Angular 4 QuickStart Tutorial - Structure and How to Create a Component

preview_player
Показать описание
In Angular 4 QuickStart Tutorial - Part 2 I will be taking a quick look into Angular 4 Structure, see how Angular 4 works, create a component and see how Angular 4 components work and then use ngModel directive for binding.

If you want to know how to Install Angular 4 or check my first Angular 4 Tutorial please check Angular 4 QuickStart - Part 1:

Angular 4 Structure:

How to Create a Component in Angular 4 :

Angular 4 Simple Binding:

Angular 4 Create Component Command:
-g flag for generate
-c flag for create
ng g c name-of-new-component
Рекомендации по теме
Комментарии
Автор

Good explanation. Thanks. Just want to add, the developer needs to import "FormsModule" then only it will work.

SureshKamrushi
Автор

getting error : Can't bind to 'ngModal' since it isn't a known property of 'input'. Please tell the solution for this.

aashimasukhija
Автор

NgModel thing does not work for me please help

AmgK.