Created
March 24, 2019 12:02
-
-
Save tanhauhau/d129b2683fbc163fe2bf5343b73f691a to your computer and use it in GitHub Desktop.
setting a scope
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
// setting a property in the `$scope` object triggers | |
// the framework to update the model and the DOM | |
$scope.name = 'Hello'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment