I have a independent modal in a separate file and it's controller in a separate file and the modal is being included in index.html using data-ng-include
. But the $scope variable inside the modal controller are not getting refreshed with the data provided in the input field present inside the modal.
I have tried to declare the same in main.js but it didn't worked.
Thanks in advance