templates of angularjs

<div ng-include src="'a.html'"></div>


  • ngInclude|src – {string} –

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

 
posted @ 2013-01-23 17:54  smallg  阅读(166)  评论(0编辑  收藏  举报