define("backbone.controller",["backbone","underscore"],(function(Backbone,_){var Controller=Backbone.Controller=function(options){options||(options={});this.preinitialize.apply(this,arguments);_.extend(this,_.pick(options,controllerOptions));this.initialize.apply(this,arguments)};var controllerOptions=["model","collection"];_.extend(Controller.prototype,Backbone.Events,{preinitialize:function(){},initialize:function(){}});Controller.extend=Backbone.View.extend;return Backbone}));