Maybe I don't fully understand the purpose here, but I think we could get rid of the `ng-click` and `ng-mouseover` calls to `getHref()` in the footer. We could use the `gaPermalinkChange` event of the permalink service to update our `encodedPermalinkHref` variable. To initialize, we could set it in the link function once (if this is needed).