I am building a web application using Angular, and I am trying to find a way to wait until all of the data-ng-include elements have been evaluated and the inclu
data-ng-include
on content loaded:
$rootScope.$on('$includeContentLoaded', function() { //do your will });
on content requested:
$rootScope.$on('$includeContentRequested', function() { //... });