angular directive implemented for tooltip