-
Notifications
You must be signed in to change notification settings - Fork 157
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
Use $templateCache for loading templates #168
Labels
Comments
+1 |
This is a great feature that somebody already tried to PR, unfortunately the PR was lacking in some points, if you can please your help is appreciated a lot. |
Sorry to ask but is this solved or not? |
@ruisilva450 hi, it isn't solved, the issue is still open :) |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We tried to use "ng-repeat" inside a tooltip's template.
That did not work and we needed a while to find out that the template specified via "tooltip-template" seems to not get compiled.
When we switched to "tooltip-template-url", we at first got 404s when the app tried to load that single template. Our build system uses grunt-angular-templates to put all template in a single js file that pre-populates the template cache.
Only after we copied all "*-tooltip-template.html" to the output build did it started to work (including the "ng-repeat").
So please check if any templateUrl is present in the cache already and only load it if it isn't found there (and then fill the cache after loading).
The text was updated successfully, but these errors were encountered: