Skip to content

Instantly share code, notes, and snippets.

@andyshora
Last active August 29, 2015 14:02
Show Gist options
  • Save andyshora/34d527496cbbfc52fd30 to your computer and use it in GitHub Desktop.
Save andyshora/34d527496cbbfc52fd30 to your computer and use it in GitHub Desktop.
JSBin AngularJS Started Template
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Test</title>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.11/angular.min.js"></script>
<body ng-app="myApp">
<div ng-controller="MainController">
{{test}}
</div>
</body>
</html>
var myApp = angular.module('myApp',[]);
myApp.controller('MainController', ['$scope', function($scope) {
$scope.test = 'testing 123';
}]);
body {
font-size: 12px;
font-family: Helvetica, Arial;
background: white;
margin: 0;
padding: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment