Fixing primitive array update problem in angularjs:
http://stackoverflow.com/questions/15488342/binding-inputs-to-an-array-of-primitives-using-ngrepeat-uneditable-inputs
First draft to be cleanly refactored.