In AngularJS we were able to trigger a digest cycle by getting the ng-app element with something like
var scope = angular.element(element).scope();
scope.$
@guati I was getting some "Failed to Load Module" error (angular 7), the error was triggered due to some changes in the routing but even when I reverted the changes, the error persisted (may be changes were not being detected) so I just restarted the development server (served the application again) and it went away.