Is there a way to include the reload
option in a ui-sref
markup without using the javascript function directly?
<a ui-sref="app.editPost({new:true}, {reload:true})">new post</a>
I've tried this approach, but it doesn't seem to be working. Do I need to create a controller function in the scope to handle the reload
option instead?
I have also attempted some solutions suggested below, but they do not seem to work with the Ionic framework. Here is a link to a code pen example: