add public prefix to html2js conf
This commit is contained in:
parent
1ddf23a848
commit
42e9b7564e
|
@ -227,7 +227,7 @@ module.exports = function(grunt) {
|
|||
},
|
||||
html2js: {
|
||||
options: {
|
||||
base: 'NodeForm',
|
||||
base: 'public',
|
||||
watch: true,
|
||||
module: 'NodeForm.templates',
|
||||
singleModule: true,
|
||||
|
|
|
@ -33,7 +33,7 @@ angular.module('forms').directive('fieldDirective', ['$http', '$compile', '$root
|
|||
templateUrl = templateUrl+type+'.html';
|
||||
}
|
||||
|
||||
return $templateCache.get('../public/'+templateUrl);
|
||||
return $templateCache.get(templateUrl);
|
||||
};
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue