Modified the center-url-hash functionality. Now it works with events so no interfering the actual $location.