User Tools

Site Tools


tips:angularjs

**This is an old revision of the document!**

AngularJS

scope

Select scope of another controller (myController)

var $ascope = angular.element(
  document.querySelector("[ng-controller='myController']")
  ).scope();
tips/angularjs.1439908713.txt.gz · Last modified: by scipio