Questions about Front End Template Layer

  node.js, question

If nodejs is used as part of the front end or as the back end, and UIkit adopts angularjs, how to deal with the problem of template rendering?
This is because seo is a question of whether nodejs and jade can first render the head area to fill in the title content. Is the content in the middle ajax rendered by angularjs to obtain server data?
If so, what should the route do? The front end uses ui-router, which is state-based rather than address-based
For example, if the access home page is/# and the access list page is /#/list, how do you match the access route at node?

/pathname/#! /route.
hashbang(#! The former part is taken over by node.js, while the latter part is taken over by angular.