Add and integrate curates app to Ionic www

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