Created
September 22, 2015 19:53
-
-
Save qetr1ck-op/35a0dd1b8e16ff0bec4b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div ng-controller="navCtrl"> | |
<span>{{user}}</span> <!-- won't be updating --> | |
<div ng-controller="loginCtrl"> | |
<span>{{user}}</span> | |
<input ng-model="user"></input> <!-- changes update only loginCtrl scope --> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment