개발

[ionic] 페이지 새로고침

지승준 2016. 2. 29. 16:36
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<ion-view cache-view="false">
 
.state('tabsController.setting', {
      url: '/setting',
      //cache: false,
      views: {
        'tab_setting': {
          templateUrl: 'templates/setting.html',
          controller: 'settingCtrl'
        }
      }
    })
    
 
 
window.location = "index.html";
window.location.reload();
$location.path('/login');
$state.go('login',{}, {reload: true});
cs