I was reading this question and wanted to change it a little so what i enter in home
's input field will be shown in the other
I tried bind the input with {{name}}
but don't know how to put it in the line below
<a ui-sref="home({foo: 'Foo,mojtaba1', bar: 'barVal1'})">home({foo: 'Foo,mojtaba1', bar: 'barVal1'})</a>
here is a plunker
Also added var name = $stateParams.name;
in .controller
So the question is how to pass the input name from page home
to other
with url and also show it?