Aptitude | AngularJS Quiz | Set-2 | Question 12
In AngularJs the controller which takes only one parameter is called:
(A)
$param
(B)
$control
(C)
$scope
(D)
$scont
Answer: (C)
Explanation:
The $scope is the object and method the binding part between the view and the controller and it must take a single parameter If you make the controller you must pass scope as the argument.
Quiz of this Question
Please comment below if you find anything wrong in the above post
Please Login to comment...