<html>
<script src="https://cdn.staticfile.net/angular.js/1.6.9/angular.min.js"></script>
<body ng-app="">
<p>点击按钮:</p>
<button ng-click="count = count + 1" ng-init="count=0">确定</button>
<p>按钮已被点击了 {{count}} 次。</p>
<p>此例将在您每次点击按钮时增加变量“count”的值。</p>
</body>
</html>