Preparation to drop ng-resource
Rebuilt without angular resource