每次更新ngInclude时都会触发$includeContentLoaded.
$scope.$on('$includeContentLoaded',function() { // Emitted every time the ngInclude content is reloaded });
我想做的是,监听要加载的特定ngInclude,如回调:
$scope.includePath('/path/to/iclude',function() { // Fired when the includePath ngInclude have finished loading }
这可能吗?