From fec2909f3a5e97bfabbb65d957e0d20d1a588e40 Mon Sep 17 00:00:00 2001 From: Jason Als Date: Wed, 20 Mar 2013 17:38:59 -0300 Subject: fix(ngMobile): Use bracket notation to fix minified version Added aliases for minification --- src/ngMobile/directive/ngClick.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/ngMobile/directive/ngClick.js b/src/ngMobile/directive/ngClick.js index 9b8e225c..a52893b1 100644 --- a/src/ngMobile/directive/ngClick.js +++ b/src/ngMobile/directive/ngClick.js @@ -23,13 +23,13 @@ */ -ngMobile.config(function($provide) { - $provide.decorator('ngClickDirective', function($delegate) { +ngMobile.config(['$provide', function($provide) { + $provide.decorator('ngClickDirective', ['$delegate', function($delegate) { // drop the default ngClick directive $delegate.shift(); return $delegate; - }); -}); + }]); +}]); ngMobile.directive('ngClick', ['$parse', '$timeout', '$rootElement', function($parse, $timeout, $rootElement) { -- cgit v1.2.3