* Add ability to pass in enter/exit/enterexit functions to directive