I have checkbox on child app controller, so when user click on it, I need to call some method from parent controller: Parent app controller:
<div ng-controller="ParentCntr as parentCntr">
<child-app></child-app>
</div>
Child app:
<div class="child-app" ng-controller="ChildCntr as childCntr">
<div class="checkbox no-indent">
<input type="checkbox"
name="test"
id="test"
ng-change="childCntr.DisableText()"
ng-model="childCntr.testVar"/>
<label for="test">Some Text</label>
</div>
</div>
So, how to do this in easiest way?