The models we are going to create here is to keep the component organised and also give more support to the Dialog Component.
We are going to create the files IN BOLD below within the folder MODELS:
Dialog Component — Angular (5) | Service
On the previous article we have created the Dialog Module, which is responsible to wrap the whole Dialog Component, Services and Models. So now, we are going to create the Core Module.
On the previous article, we have created the Core Module as a Singleton, to make it available across the whole project. So the App Module is the one that will make it happen!
So up to now, we have the Dialog Component ready to be consumed. As per our previous articles, you might noticed that I like to organise the code to make it as cleared as possible, so for the Message Service we are going to do the same. Let's start…
Dialog Component — Angular (5) | Message Component
On the previous article we have created the Message Model and Enum. So let's make the Message UI.
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…