From 01e4a2dc966f4e7731767db5e0912fe12e694045 Mon Sep 17 00:00:00 2001 From: Arjun Mathai <2269559+arjunmat@users.noreply.github.com> Date: Thu, 4 Jan 2018 08:43:43 +0530 Subject: [PATCH] Fix for angular strict DI mode --- src/angular-owl-carousel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/angular-owl-carousel.js b/src/angular-owl-carousel.js index 53ed466..177fccc 100644 --- a/src/angular-owl-carousel.js +++ b/src/angular-owl-carousel.js @@ -1,7 +1,7 @@ (function () { 'use strict'; angular.module('angular-owl-carousel', []) - .directive('owlCarousel', function ($timeout) { + .directive('owlCarousel',['$timeout', function ($timeout) { var owlOptions = [ 'items', 'margin', @@ -133,5 +133,5 @@ }); } }; - }); + }]); })();