Angularテンプレートロード
35180 ワード
angularテンプレートロード------ng-template
Angularjsはmvc(あるいはmvvm)フレームワークとして,同様にテンプレートという基本概念を備えている.
NGテンプレートをロードする順番はメモリロード---AJAXロードです.
レイアウトが乱れている場合は、ご覧くださいhttps://www.zybuluo.com/bornkiller/note/6023
メモリロード
Bootstrapプラグインのng版であるangular-uiを以前に使用したことがある場合、この方法の具体的な応用がわかります.テンプレートは本質的に文字列であり、文字列をメモリに直接書き込み、ロード時にメモリから直接取得すると、速度が速くなり、メモリロードを明示的に有効にする方法は2つあります. LeetCode[ビット演算]-#137 Single Number II
Cwind
java Algorithm LeetCode 問題解 ビット演算
『JavaScript言語エッセンス』ノート
aijuans
JavaScript
更新すべきJava知識の共通ライブラリ
Kai_Ge
java
HttpClient
120153216
httpclient
Django modelフィールドタイプリスト
2002wmj
django
SQLSERVERでCPU消費量が最も多いSQLを検索
357029540
SQL Server
Myeclipseプロジェクトを展開できません。Undefined exploded archive location
7454103
eclipse MyEclipse
GMT時間フォーマット変換
adminjun
GMT じかんへんかん
アルファベットで分類:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z その他
トップページ -
私たちについて -
構内検索 -
Sitemap -
権利侵害苦情
著作権すべてのIT知識ベースCopyRight© 2000-2050 IT知識ベースIT 610.com , All Rights Reserved.
京ICP備09083238号
Angularjsはmvc(あるいはmvvm)フレームワークとして,同様にテンプレートという基本概念を備えている.
NGテンプレートをロードする順番はメモリロード---AJAXロードです.
レイアウトが乱れている場合は、ご覧くださいhttps://www.zybuluo.com/bornkiller/note/6023
メモリロード
Bootstrapプラグインのng版であるangular-uiを以前に使用したことがある場合、この方法の具体的な応用がわかります.テンプレートは本質的に文字列であり、文字列をメモリに直接書き込み、ロード時にメモリから直接取得すると、速度が速くなり、メモリロードを明示的に有効にする方法は2つあります.
$templateCache
serviceを用いることによりを実現する.angular.module('myApp', [])
.controller('myCtrl', ['$scope','$templateCache', function($scope,$templateCache){
var tmp = '<h4>lovestoryh4>'
+ '<p> $templateCache p>'
+ '<a href="http://www.baidu.com"> templateCache a>';
$templateCache.put('lovestory.html',tmp);
}])
$templateCache
サービスputメソッドは、テンプレートコンテンツをメモリに書き込む役割を果たす.script
タグによりに導入する."text/ng-template"</span> id=<span class="string" style="color:rgb(221,17,68);">"lovestory.html"</span>>
<span class="xml"><span class="tag" style="color:rgb(0,0,128);"><<span class="title">h4</span>></span>lovestory<span class="tag" style="color:rgb(0,0,128);"></<span class="title">h4</span>></span>
<span class="tag" style="color:rgb(0,0,128);"><<span class="title">p</span>></span> script <span class="tag" style="color:rgb(0,0,128);"></<span class="title">p</span>></span>
<span class="tag" style="color:rgb(0,0,128);"><<span class="title">a</span> <span class="attribute" style="color:rgb(0,128,128);">href</span>=<span class="value" style="color:rgb(221,17,68);">"http://www.baidu.com"</span>></span> templateCache <span class="tag" style="color:rgb(0,0,128);"></<span class="title">a</span>></span>
<span class="tag" style="color:rgb(0,0,128);"></<span class="title">script</span>></span>
</span></code></code></pre>
<p style="font-size:16px;line-height:28.7999992370605px;text-indent:1em;color:rgb(51,51,51);font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;"> , <code class="prettyprint" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;color:rgb(221,17,68);border:1px solid rgb(225,225,232);">type="text/ng-template"</code> ng ,id , 。 , ,id URL, <code class="prettyprint" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;color:rgb(221,17,68);border:1px solid rgb(225,225,232);">script</code> HTTP , 。 <br> , <code class="prettyprint" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;color:rgb(221,17,68);border:1px solid rgb(225,225,232);">ID</code> , 。</p>
<pre class="prettyprint xml" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;color:rgb(51,51,51);font-size:16px;line-height:1.5em;background:rgb(248,248,255);"><code class="lang-html" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;border:0px;display:block;"><span class="tag" style="color:rgb(0,0,128);"><<span class="title">div</span> <span class="attribute" style="color:rgb(0,128,128);">ng-include</span>=<span class="value" style="color:rgb(221,17,68);">"'lovestory.html'"</span> <span class="attribute" style="color:rgb(0,128,128);">class</span>=<span class="value" style="color:rgb(221,17,68);">"well"</span>></span><span class="tag" style="color:rgb(0,0,128);"></<span class="title">div</span>></span>
</code></pre>
<p style="font-size:16px;line-height:28.7999992370605px;text-indent:1em;color:rgb(51,51,51);font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;"> <code class="prettyprint" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;color:rgb(221,17,68);border:1px solid rgb(225,225,232);">ng-include</code> , ,id , <code class="prettyprint" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;color:rgb(221,17,68);border:1px solid rgb(225,225,232);">ng-expression</code> , 。</p>
<h2 style="font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;font-weight:normal;line-height:22px;color:rgb(51,51,51);font-size:20px;text-indent:1em;"> AJAX </h2>
<p style="font-size:16px;line-height:28.7999992370605px;text-indent:1em;color:rgb(51,51,51);font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;"> , , <code class="prettyprint" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;color:rgb(221,17,68);border:1px solid rgb(225,225,232);">client-side</code> , , 。</p>
<p style="font-size:16px;line-height:28.7999992370605px;text-indent:1em;color:rgb(51,51,51);font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;"> NG , AJAX , 。 http://127.0.0.1/index.html ;</p>
<pre class="prettyprint xml" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;color:rgb(51,51,51);font-size:16px;line-height:1.5em;background:rgb(248,248,255);"><code class="lang-html" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;border:0px;display:block;"><span class="tag" style="color:rgb(0,0,128);"><<span class="title">div</span> <span class="attribute" style="color:rgb(0,128,128);">ng-include</span>=<span class="value" style="color:rgb(221,17,68);">"'lovestory.html'"</span> <span class="attribute" style="color:rgb(0,128,128);">class</span>=<span class="value" style="color:rgb(221,17,68);">"well"</span>></span><span class="tag" style="color:rgb(0,0,128);"></<span class="title">div</span>></span>
</code></pre>
<p style="font-size:16px;line-height:28.7999992370605px;text-indent:1em;color:rgb(51,51,51);font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;"> ,templateUrl </p>
<pre><code class="language-ruby"><code class="lang-javascript" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;border:0px;display:block;">angular.<span class="keyword" style="font-weight:bold;">module</span>(<span class="string" style="color:rgb(221,17,68);">'myApp'</span>, [])
<span class="indent"> </span>.directive(<span class="string" style="color:rgb(221,17,68);">'templateDemo'</span>, [<span class="string" style="color:rgb(221,17,68);">'$log'</span>, function(<span class="variable" style="color:rgb(0,128,128);">$log</span>){
<span class="indent"> </span><span class="indent"> </span><span class="keyword" style="font-weight:bold;">return</span> {
<span class="indent"> </span><span class="indent"> </span><span class="symbol" style="color:rgb(153,0,115);">restrict:</span> <span class="string" style="color:rgb(221,17,68);">'A'</span>, <span class="regexp" style="color:rgb(0,153,38);">//</span> <span class="constant">E</span> = <span class="constant">Element</span>, <span class="constant">A</span> = <span class="constant">Attribute</span>, <span class="constant">C</span> = <span class="constant">Class</span>, <span class="constant">M</span> = <span class="constant">Comment</span>
<span class="indent"> </span><span class="indent"> </span><span class="symbol" style="color:rgb(153,0,115);">templateUrl:</span> <span class="string" style="color:rgb(221,17,68);">'butterfly.html'</span>,
<span class="indent"> </span><span class="indent"> </span><span class="symbol" style="color:rgb(153,0,115);">replace:</span> <span class="keyword" style="font-weight:bold;">true</span>,
<span class="indent"> </span><span class="indent"> </span><span class="symbol" style="color:rgb(153,0,115);">link:</span> function(<span class="variable" style="color:rgb(0,128,128);">$scope</span>, iElm, iAttrs, controller) {}
<span class="indent"> </span><span class="indent"> </span>}
<span class="indent"> </span>}])
</code></code></pre>
<p style="font-size:16px;line-height:28.7999992370605px;text-indent:1em;color:rgb(51,51,51);font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;"> ,AJAX http://127.0.0.1/lovestory.html , <code class="prettyprint" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;color:rgb(221,17,68);border:1px solid rgb(225,225,232);">$templateCache</code> , , , 。 , ,AJAX 。。。</p>
<h2 style="font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;font-weight:normal;line-height:22px;color:rgb(51,51,51);font-size:20px;text-indent:1em;"> </h2>
<blockquote style="border-left-width:5px;border-left-style:solid;border-left-color:rgb(238,238,238);font-size:16px;line-height:28.7999992370605px;color:rgb(51,51,51);font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;">
<p style="font-weight:inherit;line-height:1.8;font-style:italic;text-indent:1em;"> 34 , “ ”。</p>
</blockquote>
<p style="font-size:16px;line-height:28.7999992370605px;text-indent:1em;color:rgb(51,51,51);font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;"> HTTP , , JS,CSS , JS,CSS , , , ,HTML , , 。</p>
<p style="font-size:16px;line-height:28.7999992370605px;text-indent:1em;color:rgb(51,51,51);font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;"> Angularjs :</p>
<pre><code class="language-ruby"><code class="lang-javascript" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;border:0px;display:block;">angular.<span class="keyword" style="font-weight:bold;">module</span>(<span class="string" style="color:rgb(221,17,68);">'administratorApp'</span>,[])
.config(function (<span class="variable" style="color:rgb(0,128,128);">$routeProvider</span>,<span class="variable" style="color:rgb(0,128,128);">$locationProvider</span>) {
<span class="variable" style="color:rgb(0,128,128);">$locationProvider</span>.html5Mode(<span class="keyword" style="font-weight:bold;">false</span>);
<span class="variable" style="color:rgb(0,128,128);">$routeProvider</span>
.<span class="keyword" style="font-weight:bold;">when</span>(<span class="string" style="color:rgb(221,17,68);">'/manage'</span>, {
<span class="symbol" style="color:rgb(153,0,115);">templateUrl:</span> <span class="string" style="color:rgb(221,17,68);">'views/manage.html'</span>,
<span class="symbol" style="color:rgb(153,0,115);">controller:</span> <span class="string" style="color:rgb(221,17,68);">'ManageCtrl'</span>
})
.<span class="keyword" style="font-weight:bold;">when</span>(<span class="string" style="color:rgb(221,17,68);">'/diary/:key'</span>, {
<span class="symbol" style="color:rgb(153,0,115);">templateUrl:</span> <span class="string" style="color:rgb(221,17,68);">'views/diaryDetail.html'</span>,
<span class="symbol" style="color:rgb(153,0,115);">controller:</span> <span class="string" style="color:rgb(221,17,68);">'DiaryDetailCtrl'</span>,
})
.<span class="keyword" style="font-weight:bold;">when</span>(<span class="string" style="color:rgb(221,17,68);">'/diary'</span>, {
<span class="symbol" style="color:rgb(153,0,115);">templateUrl:</span> <span class="string" style="color:rgb(221,17,68);">'views/diaryList.html'</span>,
<span class="symbol" style="color:rgb(153,0,115);">controller:</span> <span class="string" style="color:rgb(221,17,68);">'DiaryListCtrl'</span>
})
.<span class="keyword" style="font-weight:bold;">when</span>(<span class="string" style="color:rgb(221,17,68);">'/publish/:key'</span>, {
<span class="symbol" style="color:rgb(153,0,115);">templateUrl:</span> <span class="string" style="color:rgb(221,17,68);">'views/update.html'</span>,
<span class="symbol" style="color:rgb(153,0,115);">controller:</span> <span class="string" style="color:rgb(221,17,68);">'UpdateCtrl'</span>
})
.<span class="keyword" style="font-weight:bold;">when</span>(<span class="string" style="color:rgb(221,17,68);">'/publish'</span>, {
<span class="symbol" style="color:rgb(153,0,115);">templateUrl:</span> <span class="string" style="color:rgb(221,17,68);">'views/publish.html'</span>,
<span class="symbol" style="color:rgb(153,0,115);">controller:</span> <span class="string" style="color:rgb(221,17,68);">'PublishCtrl'</span>
})
.<span class="keyword" style="font-weight:bold;">when</span>(<span class="string" style="color:rgb(221,17,68);">'/record'</span>, {
<span class="symbol" style="color:rgb(153,0,115);">templateUrl:</span> <span class="string" style="color:rgb(221,17,68);">'views/record.html'</span>,
<span class="symbol" style="color:rgb(153,0,115);">controller:</span> <span class="string" style="color:rgb(221,17,68);">'RecordCtrl'</span>
})
.otherwise({
<span class="symbol" style="color:rgb(153,0,115);">redirectTo:</span> <span class="string" style="color:rgb(221,17,68);">'/diary'</span>
});
});
</code></code></pre>
<p style="font-size:16px;line-height:28.7999992370605px;text-indent:1em;color:rgb(51,51,51);font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;"> , HTTP 。NG , , <code class="prettyprint" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;color:rgb(221,17,68);border:1px solid rgb(225,225,232);">server-side</code> 。 <br> , JS HTTP , 。 ,PC , web app(mobile) 。</p>
<blockquote style="border-left-width:5px;border-left-style:solid;border-left-color:rgb(238,238,238);font-size:16px;line-height:28.7999992370605px;color:rgb(51,51,51);font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;">
<ul style="list-style-type:none;line-height:1.8;">
<li style="line-height:1.8;list-style-type:disc;"> , , </li>
<li style="line-height:1.8;list-style-type:disc;">AJAX , cache , . , </li>
</ul>
</blockquote>
<pre class="prettyprint bash" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;color:rgb(51,51,51);font-size:16px;line-height:1.5em;background:rgb(248,248,255);"><code class="lang-javascript" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;border:0px;display:block;"><span class="variable" style="color:rgb(0,128,128);">$scope</span>.<span class="variable" style="color:rgb(0,128,128);">$on</span>(<span class="string" style="color:rgb(221,17,68);">'$locationChangeStart'</span>,function(){
<span class="variable" style="color:rgb(0,128,128);">$templateCache</span>.remove(<span class="string" style="color:rgb(221,17,68);">'****.html'</span>);
})
</code></pre>
<blockquote style="border-left-width:5px;border-left-style:solid;border-left-color:rgb(238,238,238);font-size:16px;line-height:28.7999992370605px;color:rgb(51,51,51);font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;">
<ul style="list-style-type:none;line-height:1.8;">
<li style="line-height:1.8;list-style-type:disc;">$routeProvider <code class="prettyprint" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;color:rgb(221,17,68);border:1px solid rgb(225,225,232);">template</code> , <code class="prettyprint" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;color:rgb(221,17,68);border:1px solid rgb(225,225,232);">templateUrl</code> , 。</li>
<li style="line-height:1.8;list-style-type:disc;">PS:: , , , 。</li>
</ul>
</blockquote>
<h2 style="font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;font-weight:normal;line-height:22px;color:rgb(51,51,51);font-size:20px;text-indent:1em;"> $templateCache </h2>
<p style="font-size:16px;line-height:28.7999992370605px;text-indent:1em;color:rgb(51,51,51);font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;"> <code class="prettyprint" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;color:rgb(221,17,68);border:1px solid rgb(225,225,232);">$templateCache</code> <code class="prettyprint" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;color:rgb(221,17,68);border:1px solid rgb(225,225,232);">cacheFactory</code> , , <br> \$templateCache = \$cacheFactory('template');</p>
<table style="border-collapse:collapse;border-spacing:0px;font-size:16px;line-height:28.7999992370605px;color:rgb(51,51,51);font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;">
<thead>
<tr style="line-height:1.8;">
<th> </th>
<th> </th>
</tr>
</thead>
<tbody>
<tr style="line-height:1.8;">
<td style="font-size:16px;line-height:1.8;">put</td>
<td style="font-size:16px;line-height:1.8;"> </td>
</tr>
<tr style="line-height:1.8;">
<td style="font-size:16px;line-height:1.8;">get</td>
<td style="font-size:16px;line-height:1.8;"> </td>
</tr>
<tr style="line-height:1.8;">
<td style="font-size:16px;line-height:1.8;">remove</td>
<td style="font-size:16px;line-height:1.8;"> key , </td>
</tr>
<tr style="line-height:1.8;">
<td style="font-size:16px;line-height:1.8;">removeAll</td>
<td style="font-size:16px;line-height:1.8;"> </td>
</tr>
<tr style="line-height:1.8;">
<td style="font-size:16px;line-height:1.8;">destroy</td>
<td style="font-size:16px;line-height:1.8;"> key-value , </td>
</tr>
<tr style="line-height:1.8;">
<td style="font-size:16px;line-height:1.8;">info</td>
<td style="font-size:16px;line-height:1.8;"> </td>
</tr>
</tbody>
</table>
<h2 style="font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;font-weight:normal;line-height:22px;color:rgb(51,51,51);font-size:20px;text-indent:1em;"> Grunt ID </h2>
<pre><code class="language-ruby"><code class="lang-javascript" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;border:0px;display:block;"><span class="keyword" style="font-weight:bold;">module</span>.exports = function(grunt){
<span class="indent"> </span>grunt.initConfig({
<span class="indent"> </span><span class="indent"> </span>html2js <span class="symbol" style="color:rgb(153,0,115);">:</span> {
<span class="indent"> </span><span class="indent"> </span><span class="indent"> </span>simple <span class="symbol" style="color:rgb(153,0,115);">:</span> {
<span class="indent"> </span><span class="indent"> </span><span class="indent"> </span><span class="indent"> </span>options <span class="symbol" style="color:rgb(153,0,115);">:</span> {
<span class="indent"> </span><span class="indent"> </span><span class="indent"> </span><span class="indent"> </span><span class="indent"> </span>base <span class="symbol" style="color:rgb(153,0,115);">:</span> <span class="string" style="color:rgb(221,17,68);">''</span>,
<span class="indent"> </span><span class="indent"> </span><span class="indent"> </span><span class="indent"> </span><span class="indent"> </span><span class="class" style="color:rgb(68,85,136);font-weight:bold;"><span class="keyword" style="color:rgb(51,51,51);">module</span> : '<span class="title">templateStore</span>'</span>
<span class="indent"> </span><span class="indent"> </span><span class="indent"> </span><span class="indent"> </span>},
<span class="indent"> </span><span class="indent"> </span><span class="indent"> </span><span class="indent"> </span>files <span class="symbol" style="color:rgb(153,0,115);">:</span> [{
<span class="indent"> </span><span class="indent"> </span><span class="indent"> </span><span class="indent"> </span><span class="indent"> </span>src <span class="symbol" style="color:rgb(153,0,115);">:</span> [<span class="string" style="color:rgb(221,17,68);">'views/*.html'</span>],
<span class="indent"> </span><span class="indent"> </span><span class="indent"> </span><span class="indent"> </span><span class="indent"> </span>dest <span class="symbol" style="color:rgb(153,0,115);">:</span> <span class="string" style="color:rgb(221,17,68);">'build/scripts/templateStore.js'</span>
<span class="indent"> </span><span class="indent"> </span><span class="indent"> </span><span class="indent"> </span>}]
<span class="indent"> </span><span class="indent"> </span><span class="indent"> </span>}
<span class="indent"> </span><span class="indent"> </span>}
<span class="indent"> </span>});
<span class="indent"> </span>grunt.loadNpmTasks(<span class="string" style="color:rgb(221,17,68);">'grunt-html2js'</span>);
<span class="indent"> </span>grunt.registerTask(<span class="string" style="color:rgb(221,17,68);">'default'</span>,[<span class="string" style="color:rgb(221,17,68);">'html2js'</span>]);
}
</code></code></pre>
<p style="font-size:16px;line-height:28.7999992370605px;text-indent:1em;color:rgb(51,51,51);font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;"> Grunt--html2js , <code class="prettyprint" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;color:rgb(221,17,68);border:1px solid rgb(225,225,232);">views</code> <code class="prettyprint" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;color:rgb(221,17,68);border:1px solid rgb(225,225,232);">templateStore</code> , ID , :</p>
<pre class="prettyprint bash" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;color:rgb(51,51,51);font-size:16px;line-height:1.5em;background:rgb(248,248,255);"><code class="lang-javascript" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;border:0px;display:block;">angular.module(<span class="string" style="color:rgb(221,17,68);">"views/diaryList.html"</span>, []).run([<span class="string" style="color:rgb(221,17,68);">"<span class="variable" style="color:rgb(0,128,128);">$templateCache</span>"</span>, function(<span class="variable" style="color:rgb(0,128,128);">$templateCache</span>) {
<span class="variable" style="color:rgb(0,128,128);">$templateCache</span>.put(<span class="string" style="color:rgb(221,17,68);">"views/diaryList.html"</span>, <span class="string" style="color:rgb(221,17,68);">'*******'</span>
}]);
</code></pre>
<p style="font-size:16px;line-height:28.7999992370605px;text-indent:1em;color:rgb(51,51,51);font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;"> </p>
<pre class="prettyprint xml" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;color:rgb(51,51,51);font-size:16px;line-height:1.5em;background:rgb(248,248,255);"><code class="lang-javascript" style="font-family:Monaco, Menlo, Consolas, 'Courier New', monospace;border:0px;display:block;"><span class="tag" style="color:rgb(0,0,128);"><<span class="title">script</span> <span class="attribute" style="color:rgb(0,128,128);">type</span>=<span class="value" style="color:rgb(221,17,68);">"text/ng-template"</span> <span class="attribute" style="color:rgb(0,128,128);">id</span>=<span class="value" style="color:rgb(221,17,68);">"views/diaryList.html"</span>></span><span class="javascript">
***********
</span><span class="tag" style="color:rgb(0,0,128);"></<span class="title">script</span>></span>
</code></pre>
<p style="font-size:16px;line-height:28.7999992370605px;text-indent:1em;color:rgb(51,51,51);font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;"> ,id , URL。。。。。。</p>
<h2 style="font-family:'Helvetica Neue', Helvetica, Tahoma, Arial, STXihei, 'Microsoft YaHei', ' ', sans-serif;font-weight:normal;line-height:22px;color:rgb(51,51,51);font-size:20px;text-indent:1em;"> AJAX </h2>
<div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
<!--PC WAP -->
<div id="SOHUCS" sid="1277807244490063872"></div>
<script type="text/javascript" src="/views/front/js/chanyan.js">
興味があるかもしれませんCwind
java Algorithm LeetCode 問題解 ビット演算
aijuans
JavaScript
Kai_Ge
java
120153216
httpclient
2002wmj
django
357029540
SQL Server
7454103
eclipse MyEclipse
adminjun
GMT じかんへんかん
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z その他
トップページ -
私たちについて -
構内検索 -
Sitemap -
権利侵害苦情
著作権すべてのIT知識ベースCopyRight© 2000-2050 IT知識ベースIT 610.com , All Rights Reserved.
京ICP備09083238号