Update app.js

Updated to ui-router