Synchronize the Alert widget directive with the other directives and getting it working