Share work packages angular controller scope among query form and table