How to create dialog for notification

How to create dialog for notification?
And better the dialog may disappear auto

The $ionicPopup might be what you want: docs