标签:
<script type="text/ng-template" id="/tpl.html"> Content of the template. </script>angular.module(‘myApp‘, []) .run(function($templateCache) { $templateCache.put(‘templateId.html‘, ‘This is the content of the template‘ ); });标签:
原文地址:http://www.cnblogs.com/windSamW/p/5041354.html