Ui-sref-opts location: 'replace' causes additional controllers?


#1

I recently introduced the use of ui-sref-opts="{location: ‘replace’}" into a project to handle some history tracking issues. I’ve noticed that using this causes an additional controller to be added each time the view that is replaced is revisited. This is causing a bunch of duplicates when navigating around, which is incredibly useless.

Thoughts?