export supportedFields in injector
This commit is contained in:
parent
654c7bf619
commit
25fffe4ef7
|
@ -16,7 +16,6 @@ angular.module('forms').directive('fieldDirective', ['$http', '$compile', '$root
|
||||||
var templateUrl = 'modules/forms/base/views/directiveViews/field/';
|
var templateUrl = 'modules/forms/base/views/directiveViews/field/';
|
||||||
|
|
||||||
if (__indexOf.call(supportedFields, type) >= 0) {
|
if (__indexOf.call(supportedFields, type) >= 0) {
|
||||||
|
|
||||||
templateUrl = templateUrl+type+'.html';
|
templateUrl = templateUrl+type+'.html';
|
||||||
}
|
}
|
||||||
return $templateCache.get(templateUrl);
|
return $templateCache.get(templateUrl);
|
||||||
|
|
Loading…
Reference in a new issue