There are two table t1 and t2
t1 id, name 1, abc 2, pqr
t2 id, t1_id, phone 1 , 1 , 7894561230 2, 1 , 7894645125 3, 2, 7445582145
I am having two grids, grid 1 showing the first table. Now if i clicked on 1st item. I should see the second grid with only t1_id == clicked item.
Both are UI grid
When i am clicking on an item it call the controller with parameter id. Now how can i filter the other grid with this id?