Firstly, here is the plnkr.
I has this template working when it was in a single page. But when I tried splitting it up using the ng-include
. Suddenly the ng-model stopped updating.
I'm just a beginner in AngularJS.
I'm adding some conditional classes based on the checkbox Boolean value. But right now it's not working.
Did check the docs. But that's seriously not clear for me.
Please let me know on what should I do to update the ng-model
when ever I use the ng-include
.
Thanks in advance.