How does angularjs work with back-end templates?

  node.js, question

Now routing and template filling are implemented by node. How can I use angular in combination with templates?

For example, in the shopping cart page, the page is first filled in according to the shopping cart goods of the user, but when I want to calculate the total shopping cart price and other information, I want to use angular, how should I use angular to realize this function?
Ps: Now the template uses swig, and the placeholder is also {{}}

In general, using Angular only requires the backend to render the application’s entry file, and the rest can be done by Angular.
In this case, you only want to partially use Angular, so you can use it first.$interpolateProviderDetailsThe service changes the placeholder for Angular and then uses it where you need it.angular.bootstrapDetailsStart Angular application manually.