<!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