exhtml
1/2/2018 - 6:34 AM

Angular ng-model

// Allows us to bind some data to text inputs or other form fields.
// ng-model is two way data bound: the user can type and change values in the model, 
// and the model values can change and change the input
<input type="text" ng-model="movie.year">