We had $scope.$apply()
in angularjs that perform proper scope life cycle of angularjs.
Is there any equivalent to this in Angular 6?
You are looking for ChangeDetectorRef
Inject within your constructor
constructor(private ref: ChangeDetectorRef) {
}
and call
this.ref.detectChanges();