I am using ng2-admin theme for angular 2+. I am using API's to fetch data. The problem I am facing is that loader hides but data is still not loaded so the page first show skeleton of the page then load data. it looks odd.
I want the loader to show until all the data is rendered on the page.
First, I thought its the issue of API response but I see that API is completed it's just the browser rendering data which takes time. For an idea, you can see in this example
this.loader = ture
ApiCall.subscribe(response =>{
logic();
this.loader = false;
})
Loader gets hide but data is still rendering.
Thanks in anticipation.