From 8f7a14889058fdbb32473dd953de72c0845018af Mon Sep 17 00:00:00 2001 From: yalamber Date: Thu, 18 Sep 2014 00:16:48 +0545 Subject: [PATCH] Update infiniteScroll.js Seems like it should be $stateChangeSuccess instead of stateChangeSuccess --- js/angular/directive/infiniteScroll.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/angular/directive/infiniteScroll.js b/js/angular/directive/infiniteScroll.js index f6896d97ec..93cadc7119 100644 --- a/js/angular/directive/infiniteScroll.js +++ b/js/angular/directive/infiniteScroll.js @@ -44,7 +44,7 @@ * }); * }; * - * $scope.$on('stateChangeSuccess', function() { + * $scope.$on('$stateChangeSuccess', function() { * $scope.loadMore(); * }); * }