Skip to content

Instantly share code, notes, and snippets.

@vojtajina
Forked from ggoodman/app.js
Created March 30, 2012 02:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save vojtajina/2246015 to your computer and use it in GitHub Desktop.
Save vojtajina/2246015 to your computer and use it in GitHub Desktop.
Plunker + AngularJS
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 src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.1/angular.js"></script>
<script src="app.js"></script>
</head>
<body ng-controller="MainCtrl">
Hello {{name}}!
</body>
</html>
/* Put your css in here */
@ggoodman
Copy link

@vojtajina can you update this gist to something closer to: https://gist.github.com/3510140 (at least in terms of the plunker.json metadata). Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment