📜  angularjs 中的范围层次结构 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:46.861000             🧑  作者: Mango

代码示例1
The $scope object used by views in AngularJS are organized into a hierarchy. ... Each view has its own $scope (which is a child of the root scope), so whatever variables one view controller sets on its $scope variable, those variables are invisible to other controllers.