I am trying to pass parameters via the ui-router state.go
However, I am not sure how to pass the parameters. Here are my codes
app.config(function($s
Instead of adding additional param in the url, you could do it on the other way.
.state('second', { url: '/second', templateUrl: 'second.html', params: {input:null} })
All other changes would be same with what other answers.