Change layout to use angular router.