Implemented a basic directive for displaying the stored flash message.