Skip to content

Instantly share code, notes, and snippets.

@joncodo
Created November 3, 2014 22:19
Show Gist options
  • Save joncodo/eb91269c39867abbeb37 to your computer and use it in GitHub Desktop.
Save joncodo/eb91269c39867abbeb37 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html data-ng-app>
<head>
<script src="/bower_components/angular/angular.js"></script>
</head>
<body>
<input ng-controller="DemoController"/>
<div>
{{name}}
</div>
<script type="text/javascript">
var app = angular.module("demo", []);
app.controller('DemoController', [function () {
//The body of demo controller
}]);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment