FAQ Database Discussion Community

Can the conflict between the use of a tag with a relative href and be resolved?

When using a tag with a relative url, e.g. <base href="app/" /> The use of any <a href='#'> throughout the site causes the href on the anchor tag to be rewritten according to the relative path, which then becomes clickable to an invalid url. I can replace <a href='#'> with...

Angular $locationProvider html5Mode / error

So I'm running into a problem with Angular 1.3.15 and the $locationProvider. Every time I turn html5mode on I get a TypeError: Cannot read property 'replace' of undefined error. If I leave html5mode off, everything works fine. My directory structure is like so (4.DEV being a versioned directory name): public...