add directives file, add controller consistency