(fix) Partial fix for md-contact-chips

Those fixes resolve the JavaScript errors, but the behavior is wrong;
the displayed results are delayed with respect to the search string.
md-contact-chips is expected to change (for the best) soon.
This commit is contained in:
Francis Lachapelle
2015-05-07 15:15:20 -04:00
parent ab38134ba9
commit 9f9cd68997
5 changed files with 28 additions and 14 deletions
@@ -146,11 +146,8 @@
}
function userFilter($query) {
var deferred = $q.defer();
User.$filter($query).then(function(results) {
deferred.resolve(results)
});
return deferred.promise;
User.$filter($query);
return User.$users;
}
function save() {