Created
March 6, 2018 08:43
-
-
Save sparrow/bb1d35f2f1ba1e3eb299111e006abf3f to your computer and use it in GitHub Desktop.
This is a JavaScript code snippet that we used for our blog post https://rubygarage.org/blog/things-vue-takes-from-react-and-angular at RubyGarage. This is an example of two-way data binding implementation in Angular.
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
<div class='field'> | |
<input placeholder='Title' ng-model='newArticle.title' /> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment