Skip to content

will it support Modules? #12

@mukuljp

Description

@mukuljp

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'
}`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions