added the angular-resource