adding angular directives tutorial companion code