tips:angularjs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tips:angularjs [2015/08/18 16:38] – created scipiotips:angularjs [2021/10/12 21:31] (current) – removed scipio
Line 1: Line 1:
-====== AngularJS ====== 
  
-===== scope ===== 
- 
-Select scope of another controller (myController) 
-<code javascript> 
-var $ascope = angular.element(document.querySelector("[ng-controller='myController']")).scope(); 
-</code> 
  • tips/angularjs.1439908695.txt.gz
  • Last modified: 2015/08/18 16:38
  • by scipio