I created a single file containing directive templates. I use the ng-include
directive to append this file to the document. Sometimes, the browser loads the templates before binding them to the directive template, but not always.
Visit this link for more information.
Is there a solution to ensure that the ng-include
directive applies the HTML content to the document before binding the directive templates? Should I consider using a different method to load these templates into the HTML document?