Reputation: 73
I created a value object and I am injecting that object into a controller. Does that value object get added to the controller's $scope
or does it have to be manually assigned?
Upvotes: 0
Views: 13
Reputation: 19843
If you want to use it in binding you need to assign it to $scope.blah
other wise you can use that in the Controller
without assigning
Upvotes: 1