ng-model used to keep the array up to date for us