demo/www/lib/ionic/js/ionic.bundle.js
function(obj) {
       var args = Array.prototype.slice.call(arguments, 1);
       for (var i = 0; i < args.length; i++) {
         var source = args[i];
         if (source) {
           for (var prop in source) {
             obj[prop] = source[prop];
           }
         }
       }
       return obj;
    }
function(obj) {
       var args = Array.prototype.slice.call(arguments, 1);
       for (var i = 0; i < args.length; i++) {
         var source = args[i];
         if (source) {
           for (var prop in source) {
             obj[prop] = source[prop];
           }
         }
       }
       return obj;
    }
function ( obj ) { var args = Array . prototype . slice . call ( arguments , 1 ) ; for ( var i = 0 ; i < args . length ; i ++ ) { var source = args [ i ] ; if ( source ) { for ( var prop in source ) { obj [ prop ] = source [ prop ] ; } } } return obj ; }
Extend adapted from Underscore.js
Extend adapted from Underscore . js