Fix uiSrefActive state for urlless navigation

fixes #738

By moving the uiSrefActive block we now set the active state on the dom nodes regardless of the url change.