October 2018
Beginner to intermediate
478 pages
10h 8m
English
Once the forms module is imported, you can start using Angular's template-driven features, and, specifically, the extremely useful ngModel directive.
ngModel is an extensible directive that includes built-in support for two-way binding between component fields or properties and standard form elements.
Let's use ngModel in ProductFormComponent:
export interface NewProduct { title: string; description: string; category: string;}
…export * from './new-product';
…import { Category, NewProduct } from '../../../model'; ...Read now
Unlock full access