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

`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.
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.
Thanks for the suggestion. Should be fixed by now.