Navigation to new state using "replace" option

Hi, I want to create a navigation flow in my application, where I will replace one state with another. I followed:

Here is my sample on codepen:

As you can see, it doesn’t work. Is there a bug or beginners mistake?

Thanks for suggestions.

I’m running into the same problem. Did you figure anything out?

Hi @LukasBicus and @jrozek, this is still an open issue on the ui-router GitHub repository.

You can follow it here:
angular-ui/ui-router - issue #1007 - location ‘replace’ not working