Which is the correct syntax to write an AngularJS expression using the ng-bind directive?

9. Which is the correct syntax to write an AngularJS expression using the ng-bind directive?

  1. ng-bind="expression"
  2. ng-bind={expression}
  3. ng-bind={"expression"}
  4. ng-bind="{{expression}}"

Answer: A) ng-bind="expression"

Explanation:

The correct syntax to write an AngularJS expression using the ng-bind directive is: ng-bind="expression"

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.