refactor(ionTabs): make navView be detected in link function