Golang and AngularJS template conflict

后端 未结 7 1493
闹比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:19

    Here is a full example of using Golang HTML templates + Angular.js by setting delimiters as mentioned by others. The reason for this example is that it shows an end to end experience, setting up the serving of static assets, template parsing and of course angular.js integration.

提交回复
热议问题