$state.go show the new content in old view


#1

Hi to all.
I have a single page that show a list with a “next” button, that show next list, in the same view.

in routejs:

.state('listTemplate', {
    url: '/list/:currentGroup/:currentList',
    templateUrl: 'templates/list.html',
    controller: 'listCtrl'
  })

in listCtrl:

nextList++;
$state.go( "listTemplate", {
    currentGroup: nextGroup,
    currentList: nextList 
});

when click on next button, the actual page show the content of the next list, and the new page too.

How can i preserve the old content in old view and show the new content in new page?

I hope it’s clear, sorry for my english.
Many thanks