Skip to content

Instantly share code, notes, and snippets.

@ggoodman
Forked from ggoodman/app.js
Created September 7, 2012 02:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ggoodman/3662656 to your computer and use it in GitHub Desktop.
Save ggoodman/3662656 to your computer and use it in GitHub Desktop.
AngularJS@1.0.2
var app = angular.module('plunker', []);
app.controller('MainCtrl', function($scope) {
$scope.name = 'World';
});
<!doctype html>
<html ng-app="plunker" >
<head>
<meta charset="utf-8">
<title>AngularJS Plunker</title>
<link rel="stylesheet" href="style.css">
<script>document.write("<base href=\"" + document.location + "\" />");</script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.2/angular.js"></script>
<script src="app.js"></script>
</head>
<body ng-controller="MainCtrl">
Hello {{name}}!
</body>
</html>
{
"tags": ["angularjs"]
}
/* Put your css in here */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment