Chartjs-Refreshing scope variable not working with scope function

1๐Ÿ‘

โœ…

  1. Because setTimeout runs outside angular context, use $timeout version.
  2. Nope. You can use $scope.$digest(), to check changes from current scope, not all $scope tree;

Leave a comment