aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src
diff options
context:
space:
mode:
authorIgor Minar2011-08-20 00:24:24 -0700
committerIgor Minar2011-08-24 15:01:49 -0700
commit30753cb1310893841fdb0b17c075b6a72e8c8d8a (patch)
tree7c07b19f1dd026f6e1f28b3add84e7af10b0b2fd /docs/src
parentdbf8afcba0cfc0e341e3ebd2dadeba627c083f0a (diff)
downloadangular.js-30753cb1310893841fdb0b17c075b6a72e8c8d8a.tar.bz2
feat(ng:cloak): add ng:cloak directive
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/templates/docs.css4
-rw-r--r--docs/src/templates/index.html4
2 files changed, 6 insertions, 2 deletions
diff --git a/docs/src/templates/docs.css b/docs/src/templates/docs.css
index c81555bf..6ba83568 100644
--- a/docs/src/templates/docs.css
+++ b/docs/src/templates/docs.css
@@ -416,3 +416,7 @@ li {
text-align: left;
background-color: lightgray;
}
+
+[ng\:cloak], .ng-cloak {
+ display: none;
+}
diff --git a/docs/src/templates/index.html b/docs/src/templates/index.html
index feb2468f..26c1eaec 100644
--- a/docs/src/templates/index.html
+++ b/docs/src/templates/index.html
@@ -56,7 +56,7 @@
<input type="text" name="search" id="search-box" placeholder="search the docs"
tabindex="1" accesskey="s">
- <ul id="content-list" ng:class="sectionId">
+ <ul id="content-list" ng:class="sectionId" ng:cloak>
<li ng:repeat="page in pages.$filter(search)" ng:class="getClass(page)">
<a href="{{getUrl(page)}}" ng:class="selectedPartial(page)"
ng:bind="page.shortName"
@@ -72,7 +72,7 @@
<ng:include id="content" src="getCurrentPartial()" onload="afterPartialLoaded()"></ng:include>
</div>
- <div id="footer">
+ <div id="footer" ng:cloak>
<a id="version"
ng:href="https://github.com/angular/angular.js/blob/master/CHANGELOG.md#{{versionNumber}}"
ng:bind-template="v{{version}}">