Replaced restangular with ngresource