i have split my layout and used ng-include and noticed that my scope is suddenly stop working in ng-include!, to overcome this problem i used $parent like this.
<input type=text ng-model="$parent.Contact.EmailAddress" />
It works great!
<input type=text ng-model="$parent.Contact.EmailAddress" />
It works great!
No comments:
Post a Comment