Created
November 2, 2014 14:22
// source http://jsbin.com/vogowe
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> | |
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"></script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
input { | |
background-color: #ff0000; | |
color: #fff; | |
} | |
</style> | |
</head> | |
<body> | |
<div ng-controller="toDoCtrl">salut comment y lé | |
{{test}} | |
<br/> | |
<input type="text" ng-model="test"> | |
</div> | |
<script id="jsbin-javascript"> | |
function toDoCtrl($scope){ | |
$scope.test="olivier"; | |
} | |
</script> | |
<script id="jsbin-source-html" type="text/html"><!DOCTYPE html > | |
<html ng-app> | |
<head> | |
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"><\/script> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<div ng-controller="toDoCtrl">salut comment y lé | |
{{test}} | |
<br/> | |
<input type="text" ng-model="test"> | |
</div> | |
</body> | |
</html></script> | |
<script id="jsbin-source-css" type="text/css">input { | |
background-color: #ff0000; | |
color: #fff; | |
}</script> | |
<script id="jsbin-source-javascript" type="text/javascript">function toDoCtrl($scope){ | |
$scope.test="olivier"; | |
} | |
</script></body> | |
</html> |
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
input { | |
background-color: #ff0000; | |
color: #fff; | |
} |
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
function toDoCtrl($scope){ | |
$scope.test="olivier"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment