Skip to content
This repository has been archived by the owner on May 10, 2018. It is now read-only.

Commit

Permalink
add missed dependency $interval
Browse files Browse the repository at this point in the history
  • Loading branch information
mountainmoon committed Dec 28, 2014
1 parent be0c336 commit 2461377
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/directives/rn-carousel-auto-slide.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
angular.module('angular-carousel')

.directive('rnCarouselAutoSlide', function() {
.directive('rnCarouselAutoSlide', ['$interval', function($interval) {
return {
restrict: 'A',
link: function (scope, element, attrs) {
Expand Down Expand Up @@ -28,4 +28,4 @@ angular.module('angular-carousel')
});
}
};
});
}]);

0 comments on commit 2461377

Please sign in to comment.