loader directive and service added