title: Angular, Show Success alert after rooter navigate
body: <p>I'm trying to find a way to do a popup message or an alert after i successfully fill my form and redirect to another page in Angular</p>
  <p>Something like &quot;New Form is successfully added&quot; after navigation</p>
  <p>This is my code for the for the rooter navigate</p>
  <pre><code>specialEvents = []
  
    constructor(    private _eventService: EventService,
      private _router: Router) { }
  
    ngOnInit(): void {
      this._eventService.getSpecialEvents()
        .subscribe(
          res =&gt; this.specialEvents = res,
          err =&gt; {
            if( err instanceof HttpErrorResponse ) {
              if (err.status === 401) {
                this._router.navigate(['/home'])
              }
            }
          }
        )
    }
  
  </code></pre>
  <p>Can anyone please give me an idea how to show a popup or a success alert after <strong>this._router.navigate(['/home'])</strong></p>