Consider the below div tag content statement, how to print the value of "UserName"?
<div ng-app=" ng-init="firstName='John'"> <p>Input something in the input box:</p> <p>Name: <input type="text" ng-model="UserName"></p> <p>You wrote: _____________</p> </div>
नीचे दिए गए डिव टैग कंटेंट स्टेटमेंट पर विचार करें, "UserName" का मान कैसे प्रिंट करें?
AngularJS is a JavaScript-based open-source front-end web application framework. Developed and maintained by Google, AngularJS is designed to make both the development and testing of such applications easier by providing a framework for client-side model–view–controller (MVC) and model–view–viewmodel (MVVM) architectures.