Small refactoring to newer versions of Spring, Angular, Restangular, AngularUI Bootstrap and UI Router.