Sets ngModel as an empty array if it's undefined