摘要: $templateCache 第一次使用模板,它被加载到模板缓存中,以便快速检索。你可以直接将模板标签加载到缓存中,或者通过$templateCache服务。 通过script标签: <script type=”text/ng-template” id=”template.html”> <p>Thi 阅读全文
posted @ 2015-11-28 21:17 野兽' 阅读(12531) 评论(1) 推荐(0)