Fixed #136 duplicate ng-click

This commit is contained in:
Max Lynch
2013-11-14 12:03:49 -06:00
parent c087f96243
commit 51215b5937
3 changed files with 6 additions and 114 deletions

View File

@@ -41,7 +41,8 @@
<script id="page.html" type="text/ng-template">
<div title="Home home home home home home home home home" ng-controller="CatsCtrl" class="nav-content">
<h1></h1>
<a href="#" class="button button-success" ng-click="goNext()">Next</a>
<a href="#" class="button button-royal" ng-click="goNext()">Next</a>
<button class="button button-assertive" ng-click="thisThing()">Doit</button>
<list><list-item ng-repeat="item in items" on-select="goNext()">Test</list-item></list>
</div>
</script>
@@ -79,6 +80,10 @@
console.log('HIDDEN');
});
$scope.thisThing = function() {
console.log("THIS THING");
};
var items = [];
for(var i = 0; i < 100; i++) {
items.push({});