Get the routes list


#1

Hello,
how can I get the entire routes list.

I’m guessing I can only access it inside $ionicPlatform.ready(function() {})
But I tried 3 different objects and none of them had the routes lists.

console.log($ionicPlatform)
console.log($ionicConfig)
console.log($state)

Thank you


#2

try calling $state.get()


#3

Perfect! It worked.
:grinning: