using ng-model with filter and search object