Jyoti Dhiman
Jyoti Dhiman

Reputation: 568

What is the role of $state.go('.')?

I am unsure about the behaviour of state.go with '.' parameter. Does it reload the current state?

Edit: It was just reloading the current state.

Upvotes: 0

Views: 173

Answers (1)

Kees van Lierop
Kees van Lierop

Reputation: 1013

It looks in the state configuration for a state called '.'. If it finds one, it will go to the path as specified in that configuration.

Upvotes: 1

Related Questions