Posting resources with angular functional