Correct format of directive creation to work in un-minified state

Fixes #4606
This commit is contained in:
Blade Barringer 2015-05-31 15:23:18 -05:00
parent 995721e0da
commit d28ed6badf

View file

@ -183,7 +183,7 @@ habitrpg
"</div>\n");
}]);
habitrpg.directive('focusMe', function($timeout, $parse) {
habitrpg.directive('focusMe', ['$timeout', '$parse', function($timeout, $parse) {
return {
link: function(scope, element, attrs) {
var model = $parse(attrs.focusMe);
@ -194,4 +194,4 @@ habitrpg.directive('focusMe', function($timeout, $parse) {
});
}
};
});
}]);