JanStevens/angular-growl-2

Display the message after reload/redirect

Closed this issue · 1 comments

Hello,
would it be possible to queue one or multuple messages and then release them in another view ?
Take the typical login screen example :
The user enter the credentials.
It fails, direct growl message displayed : "Password doesn't match".
On success, within the current controller, we do something like :

growl.queue.success('Welcome !');
$state.go('home');

I've found an alternative. I just reset my form using $setPristine()