Skip to content

Instantly share code, notes, and snippets.

@EpokK
Last active December 20, 2015 18:49
Show Gist options
  • Save EpokK/6178346 to your computer and use it in GitHub Desktop.
Save EpokK/6178346 to your computer and use it in GitHub Desktop.
How to run code after all ng-includes are loaded?
$scope.$on('$includeContentLoaded', function(event) {
console.log('another include was loaded', event.targetScope);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment