That is part of Angular's magic security help. You can find more details and code that fixes it @ http://stackoverflow.com/a/15637622/24147 .
And later, if your app might gets privileged, you will need another configuration to get CSP work: https://github.com/angular/angular.js/issues/2963#issuecomment-22304090 @digitarald On Friday, August 16, 2013 12:54:05 AM UTC-7, Paul Theriault wrote: > At campjs last weekend a bunch of people were making Firefox OS apps with > Angular. They were testing in the simulator which runs apps as packaged apps. > Because of this, they were getting errors related to the app: protocol, since > angular relies on changing the URL hash. E.g. links to #/tasklist/ get > rewritten to > unsafe:app://ec1543da-f13a-41e3-875d-2e2bb6683ac9/index.html#/tasklist/ > > > > Any ideas why gecko doesn't like this ? App is built on jar - does # have a > special meaning in jar URLs or something like that? Either way, any > suggestions to avoid this ? > > > > Thanks, > > Paul _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
