adding ng-resource