ng-model commit