I have a child controller used two times in a page.
When a function is called from the HTML within the child controller, that function (in this child controller) is called correctly, but there is a scope variable update in that function. When the scope variable is updated, the corresponding html code is not updated. Does anyone know why this is happening?
Here is my HTML:
<div ng-controller="projectResourceManagementCtrl" class="view-content my-switch-animation">
<div id="project-list-sortby-container" ng-controller="childController">
<select ng-change="functionInChildCtr()">
</div>
</div>
<div ng-include="'tpl.html'" ng-controller="childController"></div>