AngularJS uses the __________ directive to include external HTML fragments into the view.

  • ng-embed
  • ng-external
  • ng-import
  • ng-include
AngularJS uses the ng-include directive to include external HTML fragments into the view. This directive allows you to dynamically load and insert content from separate HTML files, promoting modularity and code reuse in AngularJS applications. Understanding how to use ng-include is crucial for building modular and maintainable user interfaces.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *