with angular-resource