dist/ngHandsontable.js
function(settings, scope) {
        var
          scopeOptions = angular.extend({}, scope),
          htOptions, i, length;

        settings = settings || {};
        angular.extend(scopeOptions, scope.settings || {});
        htOptions = this.getAvailableSettings();

        for (i = 0, length = htOptions.length; i < length; i++) {
          if (typeof scopeOptions[htOptions[i]] !== 'undefined') {
            settings[htOptions[i]] = scopeOptions[htOptions[i]];
          }
        }

        return settings;
      }
function(settings, scope) {
        var
          scopeOptions = angular.extend({}, scope),
          htOptions, i, length;

        settings = settings || {};
        angular.extend(scopeOptions, scope.settings || {});
        htOptions = this.getAvailableSettings();

        for (i = 0, length = htOptions.length; i < length; i++) {
          if (typeof scopeOptions[htOptions[i]] !== 'undefined') {
            settings[htOptions[i]] = scopeOptions[htOptions[i]];
          }
        }

        return settings;
      }
function ( settings , scope ) { var scopeOptions = angular . extend ( { } , scope ) , htOptions , i , length ; settings = settings || { } ; angular . extend ( scopeOptions , scope . settings || { } ) ; htOptions = this . getAvailableSettings ( ) ; for ( i = 0 , length = htOptions . length ; i < length ; i ++ ) { if ( typeof scopeOptions [ htOptions [ i ] ] !== 'undefined' ) { settings [ htOptions [ i ] ] = scopeOptions [ htOptions [ i ] ] ; } } return settings ; }
Merge original handsontable settings with setting defined in scope.

@param {Object} settings
@param {Object} scope
@returns {Object}
Merge original handsontable settings with setting defined in scope .