Last active
May 19, 2016 12:50
-
-
Save jbmilgrom/c70cee9aa6c10fb52d7ded9924b54b98 to your computer and use it in GitHub Desktop.
This file contains 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
scope.greeting = 'hi there'; | |
scope.$watch('greeting', function(greeting) { | |
console.log('greeting: ', greeting); // greeting: hi there | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment