angualrjs ng1 $applyAsync 热更新页面DOM
$scope.abc = 123;
setInterval(function(){
$scope.$applyAsync(function () {
$scope.abc = $scope.abc + 1;
});
},"5000");
$scope.abc = 123;
setInterval(function(){
$scope.$applyAsync(function () {
$scope.abc = $scope.abc + 1;
});
},"5000");