From 16749e63ef44e784d8ff32f7af3ae1d4e177107d Mon Sep 17 00:00:00 2001 From: GLaw Date: Wed, 5 Oct 2016 10:35:01 +0200 Subject: [PATCH] Updated SwiperContainer controller Updated SwiperContainer controller to prevent minification issues --- src/angular-swiper.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/angular-swiper.js b/src/angular-swiper.js index 44d4d74..c4871aa 100644 --- a/src/angular-swiper.js +++ b/src/angular-swiper.js @@ -48,7 +48,7 @@ swiper: '=', overrideParameters: '=' }, - controller: function($scope, $element, $timeout) { + controller: ['$scope','$element','$timeout',function($scope, $element, $timeout) { var uuid = createUUID(); $scope.swiper_uuid = uuid; @@ -107,7 +107,7 @@ }); } }); - }, + }], link: function(scope, element) {