src/aria/templates/ModuleCtrl.js
function (data, merge) {
            this.json.inject(data, this._data, merge);
            if (this._dataBeanName) {
                if (!ariaCoreJsonValidator.normalize({
                    json : this._data,
                    beanName : this._dataBeanName
                })) {
                    this.$logError(this.DATA_CONTENT_INVALID, [this._dataBeanName, this.$classpath]);
                }
            }
        }
function (data, merge) {
            this.json.inject(data, this._data, merge);
            if (this._dataBeanName) {
                if (!ariaCoreJsonValidator.normalize({
                    json : this._data,
                    beanName : this._dataBeanName
                })) {
                    this.$logError(this.DATA_CONTENT_INVALID, [this._dataBeanName, this.$classpath]);
                }
            }
        }
function ( data , merge ) { this . json . inject ( data , this . _data , merge ) ; if ( this . _dataBeanName ) { if ( ! ariaCoreJsonValidator . normalize ( { json : this . _data , beanName : this . _dataBeanName } ) ) { this . $logError ( this . DATA_CONTENT_INVALID , [ this . _dataBeanName , this . $classpath ] ) ; } } }
Set the data in the dataModel
@param {Object} data the new Data to set
@param {Boolean} merge If true, existing value in this._data will not be overriden
Set the data in the dataModel