Skip to content

Instantly share code, notes, and snippets.

@carlosazaustre
Forked from angelochen960/gist:4188293
Created February 12, 2014 13:36
Show Gist options
  • Save carlosazaustre/8955693 to your computer and use it in GitHub Desktop.
Save carlosazaustre/8955693 to your computer and use it in GitHub Desktop.
<!doctype html>
<html ng-app="myApp">
<head>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js"></script>
<script type="text/javascript">
var myApp = angular.module('myApp', [], function ($interpolateProvider) {
$interpolateProvider.startSymbol('[[');
$interpolateProvider.endSymbol(']]');
});
</script>
</head>
<body>
<div>
<input type="text" ng-model="name" />
<hr>
<h1>Hello [[name]]!</h1>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment