Angular Resource Module for REST API endpoints