Ionic-demo app

You are not starting up a server.
XMLHttpRequests or Ajax as you may call it, requires the HTTP protocol at the the transport layer.

In simple words you have to install or use some kind of server software to serve the files from your file system into your browser.

I would recommend you do this via terminal ( command line ):

  1. Go to the directory where index.html resides.
  2. Then type python -m SimpleHTTPServer and press enter.
  3. Don’t close the terminal. Let it run in the background.
  4. Open you browser and go to localhost:8000

Python comes pre-installed on both Mac OSX and Linux. I think it is same with Windows. If not install python.
Voila! The app should run now.