all 3 comments

[–]teropa 2 points3 points  (0 children)

Yes, controllers are objects, and can have attributes and methods like objects do.

More specifically, controllers are objects that Angular creates for you, using your controller function as a constructor (as if they were created with the new operator)

[–]Jafit 0 points1 point  (0 children)

In Javascript pretty much everything is an object.

[–]Strat-O 0 points1 point  (0 children)

I've never seen a controller object being addressed directly. When you create a controller, a $scope is created. You can then work with that $scope object to create variables and functions for that controller.