filmov
tv
AngularJS Tutorial 19- Nested Controllers
Показать описание
In this tutorial, we will learn about Nested Controllers or Nested Scope in angularJS
As of now we are familiar with scope and rootScope in AngularJS. But Controllers can also create nested scope in AngularJS. When you use any controller inside any other controller it will create a nested scope
In case of Nested Scope or Nested Controller , Inner controller act like a child scope and outer Controller act like a parent Scope. In this case child controller or scope have access of all the data of parent scope .
If you want to access parent data inside child controller you need to use $parent property
When you use nested scope you need to be very careful while referring your scope.
Visit my facebook page@
As of now we are familiar with scope and rootScope in AngularJS. But Controllers can also create nested scope in AngularJS. When you use any controller inside any other controller it will create a nested scope
In case of Nested Scope or Nested Controller , Inner controller act like a child scope and outer Controller act like a parent Scope. In this case child controller or scope have access of all the data of parent scope .
If you want to access parent data inside child controller you need to use $parent property
When you use nested scope you need to be very careful while referring your scope.
Visit my facebook page@
AngularJS Tutorial 19- Nested Controllers
Angular nested scopes and controller as syntax
AngularJS Tutorial 20 - Controller As Syntax
Thinking in Angular1 25 - Nested Controllers and Scope Hierarchy
Sharing Data using $ Scope | Nesting Controllers | AngularJS Tutorial | Mr. Vikram
Angular nested scopes and controller as syntax
AngularJS For Everyone Tutorial #6 - Controller As Syntax
Using Nested States With The AngularJS UI Router
Sharing Data Between Angular Controllers: Introduction
Angular Forms Tutorial - 19 - Nesting Form Groups
AngularJs Lecture 3 (Multiple Controllers)
angularjs current scope of the ngcontroller is new child scope access root, parent 720p
Pass Data from Parent Controller to Child Controller Using $rootScope in AngularJS
AngularJS Tutorial #19 - Transclude & Replace
EP 6.1 - AngularJS Migration / Step 4 - Componentify / Directives To Components
Angular JS Model & Controller Part 3
Angular js Controller As Syntex
AngularJS Episode 6 - AngularJS Controllers
5/19 refactoring an angular controller to use vm instead of scope - mean sort
AngularJs Tutorial: Inherited Scope (or Child Scope) in Directives & Controllers
Angular nested form groups
AngularJS ui router nested views
AngularJS Tutorial 7 :Controller Inheritance in AngularJS
LESS - Nested Directives
Комментарии