Control Ionic 2 app from console in Google Chrome developer tools

Is there a way to control an Ionic 2 app (started with “ionic serve”) through the console in Google Chrome developer tools? I used this in Sencha Touch a lot, but can’t find how to Somewhat like MyApp.get(‘provider’).callFunction() or MyApp.getNav().setRoot(page) for example. This way I could trigger providers (services).