Dialog Component — Angular (5) | Message Service

Thiago Bernardes
Dialog Component Angular (5)
1 min readJan 21, 2018

On the previous article we have created the Message Component. So now we are going to give it some live :)

The Message Service is the one that you will be using across your project. So whenever you need to invoke the message, you are going to inject it on the component`s constructor and call the proper method (for now we are doing only the alert)

./src/app/message/message.service.ts

Yep! We are nearly done, so let's import it to the Core Module to make it available to the project on the next article.

<< Previous = MENU = Next >>

--

--

Thiago Bernardes
Dialog Component Angular (5)

Focused on Human-Centered Design & working collaboratively with different areas, I combine the IT background with UX experience to create innovative solutions