Explain the ng-annotate tool in AngularJS.

ng-annotate automates adding dependency annotations in AngularJS, especially useful for minification, ensuring Angular services are injected correctly in minimized code.