lab13_angularjs
lab13_angularjs copied to clipboard
Thoughts on binding the value object
I think you need to reconsider the interface of the configurationField directive. Passing in the value object directly won't work as it has no way of consuming the change. So the directive should be included like this <configuration-field value='somethingMutable'></configuration-field>. That somethingMutable could have a value object as a property. That would enable the directive to change the actual value.
I think you're probably right, when it comes to communicating back out to the rest of the app.
I don't think this is the issue with our current test failure, though.
See also ~~#2~~ #3.