Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (19 sloc) 532 Bytes
<html ng-app="myApp">
<script type="text/javascript"
<script type="text/javascript">
var app = angular.module('myApp', ['ng']);
app.controller('MyController', function($scope) {
$scope.counter = 0
<div ng-controller="MyController"
ng-click="counter = counter + 1">
You've clicked this div {{counter}} times
You can’t perform that action at this time.