Update app.js

when using angular 1.3.0 and up

https://docs.angularjs.org/error/$location/nobase