DIMITRI: Header subnavigation fixes.

This makes the subnav work on Angular and Django pages. Hacky, but good enough for now.

![screen shot 2014-09-19 at 7 09 30 pm](https://cloud.githubusercontent.com/assets/137158/4343944/51b3d73c-406b-11e4-9873-b2192591413c.png)

I would prefer to see a function in the controller as that would simplify the template quite a bit.