move /browse/table into an directive to allow re-use in admin interface #2039