demo/www/lib/ionic/js/ionic.bundle.js
function getter(obj, path, bindFnToScope) {
  if (!path) return obj;
  var keys = path.split('.');
  var key;
  var lastInstance = obj;
  var len = keys.length;

  for (var i = 0; i < len; i++) {
    key = keys[i];
    if (obj) {
      obj = (lastInstance = obj)[key];
    }
  }
  if (!bindFnToScope && isFunction(obj)) {
    return bind(lastInstance, obj);
  }
  return obj;
}
function getter(obj, path, bindFnToScope) {
  if (!path) return obj;
  var keys = path.split('.');
  var key;
  var lastInstance = obj;
  var len = keys.length;

  for (var i = 0; i < len; i++) {
    key = keys[i];
    if (obj) {
      obj = (lastInstance = obj)[key];
    }
  }
  if (!bindFnToScope && isFunction(obj)) {
    return bind(lastInstance, obj);
  }
  return obj;
}
function getter ( obj , path , bindFnToScope ) { if ( ! path ) return obj ; var keys = path . split ( '.' ) ; var key ; var lastInstance = obj ; var len = keys . length ; for ( var i = 0 ; i < len ; i ++ ) { key = keys [ i ] ; if ( obj ) { obj = ( lastInstance = obj ) [ key ] ; } } if ( ! bindFnToScope && isFunction ( obj ) ) { return bind ( lastInstance , obj ) ; } return obj ; }
Return the value accessible from the object by path. Any undefined traversals are ignored
@param {Object} obj starting object
@param {String} path path to traverse
@param {boolean} [bindFnToScope=true]
@returns {Object} value as accessible by path
 TODO(misko): this function needs to be removed
Return the value accessible from the object by path . Any undefined traversals are ignored