added custome directive 'alert'