Update app.js

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