0

I am trying to use Chrome App, which will be a typical angular single page app, with multiple partial views etc. I am using https://github.com/angular-ui/ui-router for the views/routing purpose.

After sandboxing the html page hosting angular and all other scripts, I am getting this error:

XMLHttpRequest cannot load chrome-extension://hjilagjleifhpbceplnonicobelbcibo/html/partials/waiting.html. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.

Here "waiting.html" is a partial view I want to inject in main view. Anyway to get around this ?

Abhinav Gupta
  • 207
  • 1
  • 5
  • possible duplicate of [local xmlhttprequest from sandboxed page in chrome packaged app](http://stackoverflow.com/questions/20816855/local-xmlhttprequest-from-sandboxed-page-in-chrome-packaged-app) – Xan Feb 21 '15 at 12:30
  • http://stackoverflow.com/questions/16251420/couldnt-load-template-using-templateurl-in-angularjs – Sheelpriy May 05 '15 at 06:08

0 Answers0