Hello Ivo,
I found a solution to the problem.
To search within the component, inject a ElementRef into the components constructor:
constructor( private elementRef: ElementRef ) { }
Then later, to search the notification widget:
var el:HTMLElement = this.elementRef.nativeElement;
el.getElementsByTagName('angularNotification')[ 0 ].children[ 0 ].innerHTML = msg;
HOWEVER, Angular 2 sees this as a security risk and recommends to directly access the DOM only as a last resort ( see: https://angular.io/docs/ts/latest/api/core/index/ElementRef-class.html ).
I would prefer to have a setText() method in the notification widget to set the text directly.
What do you think?
regards,
Alexander Lanz