Gets a controller in the jQuery element. With no arguments, returns the first one found.
$.fn.controller(controller) -> jQuery.Controller
{Object}
(optional) if exists, the first controller instance with this class type will be returned.
{jQuery.Controller}
the first controller.
Gets a controller in the jQuery element. With no arguments, returns the first one found.