Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

project base path #2

Open
mwmitchell opened this issue Mar 24, 2014 · 3 comments
Open

project base path #2

mwmitchell opened this issue Mar 24, 2014 · 3 comments

Comments

@mwmitchell
Copy link
Contributor

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!

@kenhkan
Copy link
Owner

kenhkan commented Apr 20, 2014

@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.

@mwmitchell
Copy link
Contributor Author

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"}

@kenhkan
Copy link
Owner

kenhkan commented Sep 18, 2014

I'm assuming your PR reflects this, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants