resolve CORS issue, add Ionic run step to app.js, refactor file structure, install AngularUI Router