Y
Hacker News
new
|
ask
|
show
|
jobs
by
xando
4582 days ago
author here. I'm using ng-cloak, but maybe I misunderstood the way how this should be defined there, or maybe is not working well with less.js.
Thanks for the link I will have a second look.
2 comments
Bahamut
4582 days ago
`ng-cloak` doesn't work if your scripts are not in the head. Also, you should not use the less.js script in production, it is unbelievably slow. You should compile the LESS files into CSS files before deploying to a live site.
link
almost
4582 days ago
Add
.ng-cloak {display: none !important;}
To your css. You've already added the ng-cloak class to your element, angular will remove it once it is done loading.
link
xando
4582 days ago
Thanks for the suggestion. Should be fixed by now.
link