Skip to content

Instantly share code, notes, and snippets.

@rohman
Created May 21, 2013 08:55
Show Gist options
  • Save rohman/5618431 to your computer and use it in GitHub Desktop.
Save rohman/5618431 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>Angular Binding</title>
<link rel="stylesheet" href="assets/foundation/foundation.css" />
</head>
<body>
<div ng-app="">
<input type="text" ng-model="data.message" />
<h1>{{data.message + " World"}}</h1>
<div class="{{data.message}}">
Wrap me with a foundation
</div>
</div>
<script type="text/javascript" src="assets/angularjs/angular.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment