Which is the correct AngularJS statement to format the value of 'studentName' in the uppercase?

40. Which is the correct AngularJS statement to format the value of "studentName" in the uppercase?

  1. {{ studentName.uppercase }}
  2. {{ uppercase(studentName) }}
  3. {{ uppercase.studentName }}
  4. {{ studentName | uppercase }}

Answer: D) {{ studentName | uppercase }}

Explanation:

The correct AngularJS statement to format the value of studentName in the uppercase is: {{ studentName | uppercase }}

Comments and Discussions!

Load comments ↻






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