Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • ouch, looks like we got there at the same time :-) how does this work, should someone, and I don't mind doing it, remove their answer? Commented May 9, 2015 at 13:35
  • Thanks. By making these changes the Uncaught Error went away. But now its giving me this error - XMLHttpRequest cannot load file:///Users/agarwala/Desktop/Personal%20Work/AngularJS/routes/view1.html. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource. Commented May 9, 2015 at 13:41
  • 1
    @munna for make it working you need to host your code on some server like wamp/ISS Commented May 9, 2015 at 13:43