and avoid $digest already in progress error. Needed if use toaster outside of controller, for example in a custom exception handler