This example illustrates subscribing to the notifications observer. This method of getting notifications becomes necessary when using the OnPush ChangeDetectionStrategy in Angular
Click the button below to launch a notification, and view the logs in the console to see the subscription in action