When a state is clicked at first, the div that owns the \"ui-view\" attribute is replaced with the \"template\" of that state. However, when I click the same state again, it
just use below code
$stateProvider. state('myPage', { url: '/', cache: false // add this line