top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is ViewModel in AngularJS?

0 votes
241 views
What is ViewModel in AngularJS?
posted Nov 1, 2017 by Jayshree

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

A viewmodel is an object that provides specific data and methods to maintain specific views. Basically, it
is a $scope object which lives within your AngularJS app's controller. A viewmodel is associated with a HTML
element with the ng-model and ng-bind directives.

answer Nov 1, 2017 by Shivaranjini
...