How can I specify the reload option in a ui-sref markup? All the examples I see use the javascript function directly.
reload
ui-sref
Use ui-sref-opts. Here you go:
ui-sref-opts
<a ui-sref="app.editPost({new:true})" ui-sref-opts="{reload: true, notify: true}">new post</a>
https://ui-router.github.io/ng1/docs/0.3.1/index.html#/api/ui.router.state.directive:ui-sref