(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 committed 2015-06-12 12:02:15 -04:00
1 parent ab38134ba9
commit 9f9cd68997
5 files changed
+28 -14

No files matched your search

@@ -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() {