added alert messages sent table first attempt using a directive