refactor control directive

Global navigation