Skip to content

Instantly share code, notes, and snippets.

@pparadis
Last active December 14, 2015 10:48
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 pparadis/5074400 to your computer and use it in GitHub Desktop.
Save pparadis/5074400 to your computer and use it in GitHub Desktop.
<!doctype html>
<html ng-app>
<head>
<script src="http://code.angularjs.org/1.0.5/angular.min.js"></script>
</head>
<body>
<button ng-click="count = count + 1" ng-init="count=0">
Increment
</button>
count: {{count}}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment