Simple CRUD query to get all objects returns HTML page instead of object, generating the following error ``` Error: [$resource:badcfg] Error in resource configuration. Expected response to contain an array but got an object ```