Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Aptitude | AngularJS Quiz | Set-2 | Question 12

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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

My Personal Notes arrow_drop_up
Last Updated : 20 Sep, 2021
Like Article
Save Article
Similar Reads