Adding persons angular controller an ng-resource