Correctly remove $timeout when the page change.