Converted to jar module and switched from ngResouce and ngRoute to
Restangular and ui-router modules.