Skip to content

Instantly share code, notes, and snippets.

@evangalen
Last active December 14, 2015 11:09
Show Gist options
  • Save evangalen/5077573 to your computer and use it in GitHub Desktop.
Save evangalen/5077573 to your computer and use it in GitHub Desktop.
AngularJS Starter (for usage in "http://plnkr.co/")
var app = angular.module('plunker', []);
app.controller('MainCtrl', function($scope) {
$scope.name = 'World';
});
<!DOCTYPE html>
<html ng-app="plunker">
<head>
<title></title>
<script src="http://code.angularjs.org/1.0.5/angular.min.js"></script>
<link href="style.css" rel="stylesheet" />
<script src="app.js"></script>
</head>
<body ng-controller="MainCtrl">
<h1>Hello {{name}}</h1>
</body>
</html>
/* CSS goes here */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment