Hi, I am thinking about how is better to implement alert.  We have for example 
alerts from bootstrap = some html code. I m going to create component, place 
there code html and then if there is an error or exception I will show this 
component. It's like global component and I have to call it an display my alert 
message from any other component. The main difficult I don't know better way. I 
got a thought use component with ngIf and events or subscribe on observable 
stream for errors, Mb there is the better way? 

The main task is be able to display alert message html code from any component, 
service etc. 

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to