Add Angular resource to interact with REST API.