this is a basic question:
I have an angular 2 app, and I'm trying to use Office's dialog API. Basically, I have a route https://domain/success that I want to open up in the dialog.
More specifically, here is what I'm trying
I am at the route https://domain/splash, which renders the splash component.
In splashComponent.ts, I call this.microsoftService.doStuff
In microsoftService, doStuff method, I call
Office.context.ui.displayDialogAsync('https://domain/success');
This is supposed to render the success component.
However, I see the splash component. The url of the dialog is
https://domain/success?_host_info=blahblah|isDialog|#/splash
Why is this the case? And how do i render the success component?