working ttt in angular version 3