I had an issue yesterday where within an ng-repeat construct, I needed to bind a model property to a form input. But the property to bind would change depending on some criteria. What started out as rather difficult, proved to actually be pretty simple when using nested controllers.
Continue reading Assigning a dynamic Angular ng-model in an ng-repeat block