A customization of ng-view to avoid destroying the created DOM and hide the view instead