Fixed the ng-model error