У нас вы можете посмотреть бесплатно AngularJS Tutorial 19- Nested Controllers или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
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. When Nested level increases you need to use $parent property each time to refer the parent . Suppose you want to refer grandparent scope so you need to use $parent.$parent.title . Visit complete playlist on angular js @ • AngularJS Tutorial 1 - Introduction Visit my facebook page@ / angularjs4beginners