Scope issues with Angular UI modal
When nested scopes are involved, do not bind <input>s directly to members of the scope: <input ng-model=”name” /> <!– NO –> Bind them to at least a level deeper: <input ng-model=”form.name” /> <!– YES –> The reason is that scopes prototypically inherit their parent scope. So when setting 1st level members, these are set directly … Read more