Create directive-controller