in 5 minutes
this is going to be really really fast
Kent C. Dodds
Utah
1 wife, 2 kids
Alianza, Inc.
@kentcdodds
@kentcdodds
Gives you control over how your ng-model is updated
<input ng-model="vm.myModel"
ng-model-options="vm.myModelOptions" />
angular.module('app')
.controller('MyController', MyController);
function MyController() {
var vm = this;
vm.myModel = 'Hey!';
vm.myModelOptions = {
// model options config here
};
}
Please ask me questions:
Serious about forms? Use angular-formly
Learn more:
bit.ly/egghead-ng-model-options