AngularJS directive that works like `ng-model` but accept changes only when form is submitted (otherwise changes are cancelled)