Currently updated my latest project to Beta 8 before shipping but ran into small issue. I can’t seem to figure out how to use the navController in the root component. I understand the reasons why it cant be injected, but it seems the docs are in TS (http://ionicframework.com/docs/v2/components/#navigation), and my project is in JS, and I can’t figure out how, or where to place the new code.
Beta 7, I did the following:
@App({
templateUrl: 'build/app.html',
providers: [APIRestInterface, etc...]
queries: {
nav: new ViewChild('content')
}
})
I’m not sure how to do this since the config/bootstrapping methods have changed.