Creating dynamic controller loader directive