Added support for JSONP to controllers.