Hello,
I’m encountering something weird. I have made a simple Angular app with some basic routing, views and some ng-includes etc …
In a browser it works just fine, but when I emulate it to iOS my dynamic content doesn’t show up. The hardcoded content is showing up without any issues.
Other thing is that I use the pre-build “sideMenu” as a basis, the menu items are rendered in a ng-repeat and works just fine in the iOS emulator.
The only thing I see different is that the content should be showing up in the ‘menuContent’ view wrapper.
Menu:
$stateProvider
// Global App
.state('app', {
url: '/app',
templateUrl: ASSETS.templates.main + 'menu.html',
controller: 'LPAController'
})
My app:
.state('app.myApp', {
url: '/myApp',
views: {
'menuContent': {
templateUrl: ASSETS.templates.myApp + 'myApp.html',
controller: 'myAppController'
}
}
})
Not sure why my content isn’t showing up in the iOS emulator. Did anyone encountered this kind of problem before?
Thanks!