root.user.firstName in index.html

$root.user.firstName en index.html
¿como puedo obtener $root.user.variable en la pagina idex.html? en otras paginas me se ve pero no en index.html

How can I get $root.user.firstName on the idex.html page?
in other pages I see myself but not in index.html

firstName: {{$root.user.firstName}}

You need to load home page with route’s templateUrl or componentUrl. Read this docs section http://framework7.io/docs/view.html#initial-page-route