AngularJS的ng-include要注意的地方

官方文档 -> ngInclude, 明确写着一句话

1
2
AngularJS expression evaluating to URL. If the source is a string constant, make
sure you wrap it in single quotes, e.g. src="'myPartialTemplate.html'".

双引号里面的单引号不能少