How to reload view?

Hello Sir,
I have apps. After login in my app i have some input fields where i input some value . when i use $state.go(‘sign’); for logout. it log out. but when again sing in i have seen input field values remained.
How to clear input field or table data after logut from the app?

Please help me…

just clear login fields model after logout event

what @bobrov1989 said!

or just do

 $scope.$on('$ionicView.beforeEnter', function() {
    $scope.myModel = null;
1 Like

After Login image

Whend I click fund Transfer

Above Popup come .But when i select source account then account title,currency, Balance are populated. But when i click back button data has been clear.But when i use side menu for logout then it data will remain. I used log out
$scope.btnLogOut = function() {

    var confirmPopup = $ionicPopup.confirm({
         title: 'Log out now?',
        // template: 'Log out now?'
       confirmPopup.then(function(res) {               
         if(res) {               
         } else {
           //console.log('You are not sure');