Query for complete/uncomplete instead of filter in angular