removed an ng-model where it was not allowed to get rid of the warning