Two filters with the basic structure

#1

Hello. I want to implement two filters at the same time in woocommerce. I am using the basic structure of filtering, When i use them in separate data, it works fine, but when i want to mix them at the same time, it makes problem:
separated is =>
Woocommerce.get(‘products?filter[category]=’+$stateParams.categoryID, function(err, data, res){
and
Woocommerce.get(‘products?filter[offset]=’+$scope.offset, function(err, data, res){

at once is =>
Woocommerce.get(‘products?filter[category]=’+$stateParams.categoryID && ‘products?filter[category]=’+filter[offset], function(err, data, res){

this rised error for me. Can any one help. Thank you very much