debugging directive behaviour
removed service
fix the resource call