export supportedFields in injector

This commit is contained in:
Sam 2016-05-05 13:00:24 +03:00
parent 1ee3a9ee12
commit 2981a90f57

View file

@ -16,7 +16,6 @@ angular.module('forms').directive('fieldDirective', ['$http', '$compile', '$root
var templateUrl = 'modules/forms/base/views/directiveViews/field/';
if (__indexOf.call(supportedFields, type) >= 0) {
templateUrl = templateUrl+type+'.html';
}
return $templateCache.get(templateUrl);