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

window.AngularRailsTemplates is an array of "templates" strings #8

Closed
pitr opened this issue Oct 29, 2013 · 2 comments
Closed

window.AngularRailsTemplates is an array of "templates" strings #8

pitr opened this issue Oct 29, 2013 · 2 comments

Comments

@pitr
Copy link
Owner

pitr commented Oct 29, 2013

window.AngularRailsTemplates is ["templates", "templates", "templates", "templates", "templates", "templates", "templates", "templates", "templates", "templates", "templates", "templates", "templates"]

It seems that templates keep overwriting each other by redefining module "templates".

angular.module("templates", []).run(["$templateCache",function($templateCache) {
  $templateCache.put(...)
@dmathieu
Copy link
Contributor

Could this be related to #5? Do you have any idea for a potential solution?

@pitr
Copy link
Owner Author

pitr commented Oct 29, 2013

potential fix ^

dmathieu added a commit that referenced this issue Oct 29, 2013
change the way angular module is defined (fixes #8)
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