adds `ng-cloak` across site

switches to minified version of angular
This commit is contained in:
Robert Messerle 2015-12-15 00:16:03 -08:00 committed by Naomi Black
parent 472c9d98c7
commit d52d828bb6
3 changed files with 5 additions and 2 deletions

View File

@ -6,7 +6,7 @@ script(src="/resources/js/vendor/lodash.js")
<!-- Angular Material Dependencies --> <!-- Angular Material Dependencies -->
script(src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.js") script(src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js")
script(src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-animate.min.js") script(src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-animate.min.js")
script(src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-aria.min.js") script(src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-aria.min.js")
script(src="https://ajax.googleapis.com/ajax/libs/angular_material/0.8.3/angular-material.min.js") script(src="https://ajax.googleapis.com/ajax/libs/angular_material/0.8.3/angular-material.min.js")

View File

@ -3,7 +3,7 @@ html(lang="en" ng-app="angularIOApp" itemscope itemtype="http://schema.org/Frame
head head
!= partial("/_includes/_head-include") != partial("/_includes/_head-include")
body(class="l-offset-nav" ng-controller="AppCtrl as appCtrl") body.ng-cloak.l-offset-nav(ng-controller="AppCtrl as appCtrl")
!= partial("/_includes/_main-nav") != partial("/_includes/_main-nav")
<!-- HERO LOGO --> <!-- HERO LOGO -->

View File

@ -8,6 +8,9 @@ body {
font-family: $brand-font; font-family: $brand-font;
font-size: 14px; font-size: 14px;
color: #1a2326; color: #1a2326;
&.ng-cloak {
display: none;
}
} }
a { a {