The angular digest lifecycle is completed and there was a condition written for a particular div in ngif which value is being set after 2 api calls which gets set to true condition after dom has rendered.How to render this dom to detect the change in angularjs?