Commit f619ce9c authored by Anh Trinh's avatar Anh Trinh

change "Slider" service to "RzSlider" to avoid collision

parent 5e669dda
This diff is collapsed.
...@@ -57,7 +57,7 @@ function throttle(func, wait, options) { ...@@ -57,7 +57,7 @@ function throttle(func, wait, options) {
} }
}) })
.factory('Slider', ['$timeout', '$document', 'throttle', function($timeout, $document, throttle) .factory('RzSlider', ['$timeout', '$document', 'throttle', function($timeout, $document, throttle)
{ {
/** /**
* Slider * Slider
...@@ -894,7 +894,7 @@ function throttle(func, wait, options) { ...@@ -894,7 +894,7 @@ function throttle(func, wait, options) {
return Slider; return Slider;
}]) }])
.directive('rzslider', ['Slider', function(Slider) .directive('rzslider', ['RzSlider', function(Slider)
{ {
return { return {
restrict: 'EA', restrict: 'EA',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment