Instruction: Explain when and why the ng-init directive should be used in AngularJS applications.
Context: This question assesses the candidate's understanding of AngularJS directives, particularly ng-init, and its role in initializing application data.