Turned on HTML5 mode on AngularJS and changed serverside URLs for API