refactor mapview tab to use controllerAs