It should update all $apply itself.
Modifying the example from the local help works fine:
Template:
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example - example-example43-production</title> <link href="style.css" rel="stylesheet" type="text/css"> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.4.0-rc.0/angular.min.js"></script> <script src="script.js"></script> </head> <body ng-app="scopeExample"> <div class="show-scope-demo"> <div ng-controller="GreetController"> Hello {{name}}! </div> <div ng-controller="ListController"> <ol> <li ng-repeat="name in names">{{name}} from {{department}}</li> </ol> </div> </div> </body> </html>
Js:
(function(angular) { 'use strict'; angular.module('scopeExample', []) .controller('GreetController', ['$scope', '$rootScope', function($scope, $rootScope) { $scope.name = 'World'; $rootScope.department = 'Angular'; }]) .controller('ListController', ['$scope', function($scope) { $scope.names = ['Igor', 'Misko', 'Vojta']; $scope.names.push('Another One'); //Вот здесь добавляем еще одного. }]); })(window.angular);
Online test.