First version of angular directives