change directives and controllers