Skip to content

Conversation

@rmtuckerphx
Copy link

this shows externalized templates

@Jon-Biz
Copy link
Owner

Jon-Biz commented Feb 22, 2014

Hi Rm,

I've pulled this in as a branch here:

https://github.com/Jon-Biz/FireUser/tree/rmtucker

(Probably not the most descriptive branch name :) )

However, the templateUrl solution doesn't seem to be working yet. Angular url references are relative either to the index.html or to the domain root depending on the leading slash (ie - "/place.html" or "place.html". So, as is, it fails in the demo app.

We are looking at this solution here:
http://stackoverflow.com/questions/21103724/angular-directive-templateurl-relative-to-js-file

Which feels a bit hackety, but adding templates seems worth it.

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

Successfully merging this pull request may close these issues.

2 participants