These are chat archives for edbirmingham/network

14th
Dec 2015
Anthony Crumley
@anthonycrumley
Dec 14 2015 17:28
@saabdoli This seems to fix the problem. Angular was creating an Object rather than an Array. {0: 'value1', 1: 'value2', 2: 'value3'} and ['value1', 'value2', 'value3'] can both be referenced the same way with []. x[0] will return 'value1' whether it is an Array or an Object. By initializing $scope.member with Arrays for those three values, Angular and Mongoose began to deal with them as we expected. anthonycrumley/network@283e42f
For new Members Mongoose seemed to handle it as we expected but not for existing ones.