Ion-nav-view displays data on first time, but not on subsequent calls

I have this state:

  .config(function($stateProvider, $urlRouterProvider) {
      .state('layout.teams', {
        url: '/teams',
        abstract: true,
        views: {
          'teams-tab': {
            template: '<ion-nav-view name="content" animation="slide-left-right" />'
      .state('layout.teams.list', {
        url: '/list',
        views: {
          'content': {
            templateUrl: 'teams/list/teams.list.html',
            controller: 'TeamsController as vm'

and this layout:

  <ion-tabs class="tabs-icon-top tabs-stable">
    <ion-tab title="Feed" icon="ion-social-rss" ui-sref="layout.feed()">
      <ion-nav-view name="feed-tab"></ion-nav-view>
    <ion-tab title="Teams" icon="ion-ios-people" ui-sref="layout.teams.list()">
      <ion-nav-view name="teams-tab"></ion-nav-view>

When I open the layout.teams.list state for the first time, it loads just fine. But when I open that the second time, it doesn’t load anything on the screen.


any thoughts on this? :slight_smile:

Try turning off the view cache by add cache-view="false" to <ion-view>. I had an issue where the view wasn’t being updated and that caused it.

That didn’t do :confused: Thanks anyway!

ok, I find my problem in this forum:

Thanks, guys!