How to get all indexes in dashboard $scope

I wanna write a navbar plugin in dashboard, and how can I get all indexes name list in dashboard $scope, seems can only get the panelJSON

just close, got it

Thanks for the update! Glad you were able to figure it out.

CJ