Golang and AngularJS template conflict

后端 未结 7 1496
闹比i
闹比i 2021-01-07 23:54

I have a conflict with golang html/template and angularjs delimiters. I know that there is a method that lets to change delimiter in Go, but it does not work for me. Maybe i

相关标签:
7条回答
  • 2021-01-08 00:37

    The idea behind AngularJS is to have all the rendering process run on the client side.

    If you follow this logic all along, you do not need any rendering on the server side (e.g : no call to template.Execute) when serving AngularJS html files, you simply have to serve static content.

    0 讨论(0)
提交回复
热议问题