Use below code to cache false for particular state:
.state('main.emp', {
cache : false,
url: '/emp',
views: {
'main': {
templateUrl: 'views/emp-list.html',
controller : 'EmpCtrl'
}
}
})
.state('main.emp', {
cache : false,
url: '/emp',
views: {
'main': {
templateUrl: 'views/emp-list.html',
controller : 'EmpCtrl'
}
}
})
No comments:
Post a Comment