title: Trigger Angular change detection from console
body: <p>In AngularJS we were able to trigger a digest cycle by getting the ng-app element with something like </p>
  
  <pre><code>var scope = angular.element(element).scope(); 
  scope.$apply(...); 
  </code></pre>
  
  <p>I have looked all over for a solution to do this in Angular(4+) but have only found solutions that work in the app like(<a href="https://stackoverflow.com/questions/34827334/triggering-angular2-change-detection-manually">Triggering Angular2 change detection manually</a>). I need something that works from the console.</p>
  
  <p>I'm sure I'm doing it wrong but trying to apply the answer on the above question didn't work. I tried many variations of this:</p>
  
  <pre><code>ng.probe($0).injector.view.root.ngModule.injector.get('ApplicationRef')
  </code></pre>