Skip to content

Commit

Permalink
Use right instance for increment demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Bjelkholm committed Aug 2, 2015
1 parent cd178d5 commit 99055a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ <h2>
</div>
<hr>
<div>
<a href="#demo" ng-click="count($event)">Increment</a>
<a href="#demo" ng-click="increment($event)">Increment</a>
</div>
<hr>
<div>
Expand Down Expand Up @@ -364,9 +364,9 @@ <h2>License</h2>
$scope.progressbar.start();
}

$scope.count = function($event) {
$scope.increment = function($event) {
$event.preventDefault();
$scope.progressbar.set(ngProgress.status() + 9);
$scope.progressbar.set($scope.progressbar.status() + 9);
}

$scope.new_color = function($event, color) {
Expand Down

0 comments on commit 99055a3

Please sign in to comment.