When i add parameter using $location in url as shown below it first removes added data but i want to keep that previous data...
Example with code
Main url: http://localhost/angular_laravel/angjs/#/bag_list
when i do this,
$location.path('/bag_list').search({category: cat_search});
it simply changes url to this,
http://localhost/angular_laravel/angjs/#/bag_list?category=1
now when next function doing something like this,
$location.path('/bag_list').search({model: model_search});
and then url changes to this,
http://localhost/angular_laravel/angjs/#/bag_list?model=1
but i want to keep both like this,
I WANT LIKE THIS: http://localhost/angular_laravel/angjs/#/bag_list?model=1&category=1
My problem is that it deletes previous parameter but i want to keep that parameter,
any help...??