-
Notifications
You must be signed in to change notification settings - Fork 10
will it support Modules? #12
Copy link
Copy link
Open
Description
can we use modulename like in ngHtml2JsPreprocessor? So that we can load that module in spec if we have multiple json files .
i am currently getting an error
Like this
beforeEach(module('foo'));
`ngJson2JsPreprocessor: {
cacheIdFromPath: function(filepath) {
// example strips 'public/' from anywhere in the path
// module(app/templates/template.html) => app/public/templates/template.html
var cacheId = filepath.strip('public/', '');
return cacheId;
},
moduleName: 'foo'
}`
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels