@taylormaster wrote:
Hi, i have a problem with $ionicView.loaded.
there is a button-bar in sub-header:<div class="bar bar-subheader"> <div class="button-bar"> <a class="button icon ion-images" ui-sref="app.competition"></a> <a class="button icon ion-heart" ui-sref="app.fav"></a> <a class="button icon ion-upload" ui-sref="app.upload"></a> </div> </div>
and three state:
.state('app.competition', { url: '/competition', views: { 'menuContent': { templateUrl: 'templates/competition.html', controller: 'competition' } } }) .state('app.fav', { url: '/fav', views: { 'menuContent': { templateUrl: 'templates/fav.html', controller: 'FavCtrl' } } }) .state('app.upload', { url: '/upload', views: { 'menuContent': { templateUrl: 'templates/upload.html', controller: 'UploadCtrl' } } })
when i click app.fav state, then $ionicView.loaded ok, this is first run, but if i click back app.competition and back again app.fav then run $ionicView.loaded again. Is this bug?
Posts: 1
Participants: 1