Making a doctor's website with Angular ui-router which switches partials through ui-sref. I need the ui-sref link to reload on the pages with the javascript widgets so they upload. Here is the view:
<a ui-sref="home">
and the state router in the js file:
.state('home', {
url: '/home',
templateUrl: 'Partials/partial-home.html'
})
I tried:
ui-sref-opts="{reload: true}"
in my ui-sref but it did not reload the widget. I tried other code I found here and that didn't help either. Here is the source code for anyone who wants to see: https://github.com/EBM26