Friday, December 27, 2013

It looks like Angular HAS to run at a web server.

If you just try to double-click the index.html in the seed project and "run" it in Windowsland from a browser you see something like:

XMLHttpRequest cannot load file:///C:/whatever/partials/partial1.html. Cross origin requests are only supported for HTTP.

...in the console, but not so if you bring the site up in IIS.

No comments:

Post a Comment