Last active
August 29, 2015 14:14
-
-
Save atmimran/e6471db5a04b5847a817 to your computer and use it in GitHub Desktop.
What Is Data Binding
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
<!DOCTYPE html> | |
<html ng-app=""> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<input type="text" name="name" ng-model="name" value="" /> | |
<p ng-bind="name"></p> And we also use expression like this {{name}} | |
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment