I have code in my controller to get city of a store and in the same time I want to get back this store categories. It's all working fine but results of categories come like this:

```
["Taco Bar", "Yogurt Bar", "Hot Breakfast", "Utensils", "Beverages", "Desserts", "Salads", "Ala Carte", "Party Essentials"]

```

How can I view these categories in the HTML table?

```
public function getCity($id)
{
  $store_city = Storeinfo::where('store_id', $id) -> pluck('store_city');
  $categories = Category::where('store_id', $id) -> pluck('Category_name');
  return Response::json(array(
    'store_city' => $store_city,
    'categories' => $categories,
  ));
}

```

```js
success: function(data) {
  $('#store_city').val(data.store_city);
  console.log(data.categories);
}

```