Storing previous path and fix parsin nextPath with ui-router