upgrade to restangular