src/aria/templates/ModuleCtrlFactory.js
function (desc, cb, skipInit) {
                var args = {
                    desc : desc,
                    cb : cb,
                    skipInit : skipInit
                };
                createModuleCtrl.call(this, args);
            }
function (desc, cb, skipInit) {
                var args = {
                    desc : desc,
                    cb : cb,
                    skipInit : skipInit
                };
                createModuleCtrl.call(this, args);
            }
function ( desc , cb , skipInit ) { var args = { desc : desc , cb : cb , skipInit : skipInit } ; createModuleCtrl . call ( this , args ) ; }
Create a module controller and its corresponding flow controller according to its description object and
send in the callback an object. The callback may be called synchronously if the initialization can be
done synchronously.
@param {aria.templates.CfgBeans:InitModuleCtrl} desc Module controller description
@param {aria.core.CfgBeans:Callback} cb Callback, which will be called with a json object containing the
following properties
<ul>
<li><code>error</code>: (Boolean) if true, there was an error during module controller creation and
the error was logged. In this case, the other properties are not defined. Note that if a custom
sub-module of this module failed to be loaded, this is not considered as an error in the load of this
module (error = false).</li>
<li><code>moduleCtrl</code>: the module controller public interface</li>
<li><code>moduleCtrlPrivate</code>: the module controller whole object (should only be used for
debugging purposes and for the call of the $dispose method)</li>
</ul>
@param {Boolean} skipInit if true, the init method is not called on the module controller (allows the
caller to call it itself, possibly adding itself as a listener before calling the init method)
Create a module controller and its corresponding flow controller according to its description object and send in the callback an object . The callback may be called synchronously if the initialization can be done synchronously .