jeudi 12 octobre 2017

How to create generic popup for across the app?

I am trying to create a popup which is available and controlled by across application.

so I keep the html assets in app template. and the I would like to show and hide the popup any page from the app.

I understand that, It can achivable by service. but I don't have much idea to implement this. any one suggest me the right way?

Required is : show popup from any page, close pupup on click of close button in the popup.

here is my Twiddle

In case of angular it can be achieved from factory object.




Aucun commentaire:

Enregistrer un commentaire