src/components/autocomplete/js/autocompleteParentScopeDirective.js
function watchVariable(variable, alias) {
        newScope[alias] = scope[variable];

        scope.$watch(variable, function(value) {
          $mdUtil.nextTick(function() {
            newScope[alias] = value;
          });
        });
      }
function watchVariable(variable, alias) {
        newScope[alias] = scope[variable];

        scope.$watch(variable, function(value) {
          $mdUtil.nextTick(function() {
            newScope[alias] = value;
          });
        });
      }
function watchVariable ( variable , alias ) { newScope [ alias ] = scope [ variable ] ; scope . $watch ( variable , function ( value ) { $mdUtil . nextTick ( function ( ) { newScope [ alias ] = value ; } ) ; } ) ; }
Creates a watcher for variables that are copied from the parent scope
@param variable
@param alias
Creates a watcher for variables that are copied from the parent scope