bountysource/frontend — pull request #569 by davidhtien (2014-04-23 08:15:26+00:00)
Title: my take on issue #400

What might cause problems: (though I couldn't produce anything locally by trying the browse the site)
Removed the base href="/" in index.html since it was also interfering (causes anchor links to redirect to home page).

Details of implementation:
Added anchor links to issueComments.html under issues with post date as id. To allow bookmarking and direct use of the urls with the hash (e.g. https://www.bountysource.com/issues/447935-global-canvas-zooming-1-091#2013-09-09T12:36:48) I added a directive to run $anchorScroll after all the ng-repeats finished. What's slightly strange is if you navigate directly to an url with a hash in it (like the one above) then the scroll will be offset a little.