Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 0bf2d2a

Browse files
committed
Update demo.js
Updated the function with a clear label to make it easier for newcomers to find the callback.
1 parent f769b47 commit 0bf2d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/demo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ app.controller('DemoCtrl', function($scope, $http, $timeout, $interval) {
107107
},3000);
108108

109109
$scope.counter = 0;
110-
$scope.someFunction = function (item, model){
110+
$scope.onSelectCallback = function (item, model){
111111
$scope.counter++;
112112
$scope.eventResult = {item: item, model: model};
113113
};

0 commit comments

Comments
 (0)