Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2020 07:13 AM
Hi,
ng-model is used for the two way binding means it bind the value on HTML and server side. So if you want to access the declared variable in HTML used ng-model and in client script you can access it by c.variable or $scope.variable name, where c is work as a controller in angularjs.
Mark it correct or helpful.
Thanks
Bhagyashri Sorte.