Home »
MCQs »
AngularJS MCQs
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?
- {{ studentName.uppercase }}
- {{ uppercase(studentName) }}
- {{ uppercase.studentName }}
- {{ studentName | uppercase }}
Answer: D) {{ studentName | uppercase }}
Explanation:
The correct AngularJS statement to format the value of studentName in the uppercase is: {{ studentName | uppercase }}