tommaso capelli tommaso capelli - 6 months ago 55
AngularJS Question

Get controller name from $scope

Is there a way to get the controller name from the current $scope in AngularJS?


No, it is not possible. What if $scope belongs to directive? There is no property that can retrieve information about the controller the scope belongs to.