How can I specify the reload
option in a ui-sref
markup? All the examples I see use the javascript function directly.
<a ui-sref="app.editPost({new:true}, {reload:true})">new post</a>
Doesn't seem to work. Do I have to create a scope controller function to wrap that reload
option instead?
I've also tried some answers below and it doesn't seem to work with the Ionic framework. Link to code pen sample below:
http://codepen.io/anon/pen/LERqeb