Open mwmitchell opened 10 years ago
@mwmitchell What do you mean by changing the path based on a function? For the base path, would this help? It's currently in master. I just need to bump the version.
Hi @kenhkan yeah, that would help. I think even better though, would be to have this plugin call a function that's on the config. The function would be option, but when present, it would be called with the current template path/url being processed. The function would then be responsible for returning the cache key so that custom keys could be used. For example, I have an app that's organized by modules. Instead of specifying the path, I just want to use something like {templateUrl: "users.index"}
It'd be AWESOME if you could specify the base path to the app templates - or even better, a function in the config file that would produce the template path based on whatever input is available!