I’m trying to navigate to a second screen/view by using $state.go. That’s easy enough, but when trying to pass an object to the next state, I’m in trouble:
this will complain saying I can’t have URL and params at the same time:
ncaught Error: [$injector:modulerr] Failed to instantiate module stempeltjeBusiness due to:
Error: Both params and url specicified in state 'pages.claimed'
I tried to remove the url from the state to navigate like this:
I was hoping to do something similar without passing a whole bunch of parameters in URLs, specifically I have a ng-click handler that tries to do this:
The docs on this are a bit incomplete and confusing. I see an error and the click transitions me to a different state completely.
Essentially, Im moving state from app.connect.friends to app.profile (i.e. a completely separate state above the hierarchy Im currently in -$state.go() doesn’t seem to like that).