Defined the required controller in the directive