I am curious how people handle the angular templating engine while using visualforce.
The issue is that if you have a static resource and you use a templateUrl for a directive, or even a route. Everything essentially gets evaluated on the page, however the URL is not used with respect to the static resource, instead is used with respect to your current domain/url.
Of course you can get around this by using VisualForce pages as templates, or just throwing the html directly into the directives instead of a templateUrl.
However this has started becoming a real issue while trying to use existing Angular Modules (such as ui.bootstrap).
Are there any known solutions to this?