Functional notification directive