Injecting the NotificationService class in an ErrorHandler class triggers the following error:
Provider parse errors:
Cannot instantiate cyclic dependency! ApplicationRef
The NotificationService should be injectable in an ErrorHandler class, because it is likely that the developer wants to notify the user of an error.
https://stackblitz.com/edit/angular-3yegcw
Until this issue is fixed, the NotificationService can dynamically be injected whenever the ErrorHandler needs to report the error. See this example for a working demo.
The fix is available in the latest dev version of the package.
Shipped with v1.2.0 of the package.