Service (+ directive) for flash messages management in AngularJS