swig和angular都用{{name}}来作为模板中变量的取值, 那么要共用的话怎么办: {% raw %}{{ foobar }}{% endraw %} 或者 config(['$interpolateProvider', function($interpolateProvider) { // Swig uses {{}} for variables which makes it clash with the use of {{}} in AngularJS. // Replaced u…