AngularJS with Web API: unique property validation