fixed the angular ng-model