I would like to access my $scope variable in Chrome\'s JavaScript console. How do I do that?
I can neither see $scope nor the name of my mo
One caveat to many of these answers: if you alias your controller your scope objects will be in an object within the returned object from scope().
For example, if your controller directive is created like so:
startDate property of your controller, you would call angular.element($0).scope().frm.startDate