Passing Parameters to a page


How can parameters be passed to a page when setting it as the Root page?

I know its possible when using nav.push, but I dont want to push a new page, i want to replace the current root page and pass in parameters to the page.


It looks like the docs say you can do it the same way you do using nav.push.

this.nav.setRoot(YourPage, {
    myAwesomeParam: 'isIndeedTotallyTubular'