diff options
| author | Igor Minar | 2011-08-20 00:24:24 -0700 |
|---|---|---|
| committer | Igor Minar | 2011-08-24 15:01:49 -0700 |
| commit | 30753cb1310893841fdb0b17c075b6a72e8c8d8a (patch) | |
| tree | 7c07b19f1dd026f6e1f28b3add84e7af10b0b2fd /docs/src | |
| parent | dbf8afcba0cfc0e341e3ebd2dadeba627c083f0a (diff) | |
| download | angular.js-30753cb1310893841fdb0b17c075b6a72e8c8d8a.tar.bz2 | |
feat(ng:cloak): add ng:cloak directive
Diffstat (limited to 'docs/src')
| -rw-r--r-- | docs/src/templates/docs.css | 4 | ||||
| -rw-r--r-- | docs/src/templates/index.html | 4 |
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}}"> |
