-
What is the use of NG controller in Angularjs 2024?
ng
controller AngularJS
Questioner:Isabella Hall 2023-05-05 04:45:07
The most authoritative answer in 2024
-

-
Isabella Wilson——Studied at the University of Tokyo, Lives in Tokyo, Japan.
The
ng-
controller="myCtrl" attribute is an
AngularJS directive. It defines a
controller. The myCtrl function is a JavaScript function.
AngularJS will invoke the
controller with a $scope object. In
AngularJS, $scope is the application object (the owner of application variables and functions).
read more >>
About “ng、controller、AngularJS”,people ask:
QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.