Fix for messages disappearing during the  event in part relation to https://github.com/wmluke/angular-flash/issues/28.