if (result == value)  to  "if (angular.equals(result,value)){"

without that object from server list not match object  on model list
Fixes issue observed when comparing against objects from the server.