diff --git a/src/services/decorators.js b/src/services/decorators.js index a9aa48a16..8584013ae 100644 --- a/src/services/decorators.js +++ b/src/services/decorators.js @@ -332,7 +332,7 @@ angular.module('schemaForm').provider('schemaFormDecorators', var createManualDirective = function(type, templateUrl, transclude) { transclude = angular.isDefined(transclude) ? transclude : false; - $compileProvider.directive('sf' + angular.uppercase(type[0]) + type.substr(1), function() { + $compileProvider.directive('sf' + type[0].toUpperCase() + type.substr(1), function() { return { restrict: 'EAC', scope: true,