Map-control controller $scope
$scope from map-control Controller doesn't inherit from parent's $scope.
Thank you very much.
Use it as it is shown in the examples , it has its own controller . Examples being source code base. I think it's fine the way it is.
Ok, I pointed it out to maintain the "angularjs DOM scope inheritance" philosophy and "controller as" usage.
Thank you very much for your answer.
In that case the directives permission s just need to be changed. Easy please PR
Sorry for my ignorance, What is 'PR'?
Pull Request
I may me misunderstanding the actual request here, but since we define a limited scope, why would you want to access the parent controller from within the directive?
I think he is talking about a scope property that is not being allowed to bubble up and be found.
pseudo:
controller1
scope:
prop1: "something from controller 1"
contoller2:
scope:
prop2: "something from controller2"
<div ng-controller="controller1 >
<directive ng-controller="controller2">
<!-- not allowed currently, but could be -->
{{prop1}}
</directive>
</div>
ah ok I see. Yeah that would be nice
closing due #1590