updated ttt, html, angular directives