Remove functions from directive and extend scope via service