Split $flash into a service and a directive that communicate through the scope hierarchy