Code enhancement- Included Resource service for REST api
Change in resourcemanagercontroller.js file