You can use configure API to configure the controller, the basic usage of the configure API is as shown
below:
controller.configure(configs);
the parameter of the configure API is the same as the parameter of the constructor
function, see more
information about the parameter in constructor parameter.