Extract view to a different file apart from route.