fix(ngMobile): Use bracket notation to fix minified version

Added aliases for minification
This commit is contained in:
Jason Als 2013-03-20 17:38:59 -03:00 committed by James deBoer
parent 4efda14b49
commit fec2909f3a

View file

@ -23,13 +23,13 @@
</doc:example>
*/
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) {