added $q deferred object to products service