Add controller as to directives