Nice work. An almost identical solution to @mixonic’s http://emberjs.jsbin.com/iFEvATE/2/edit, which adds a currentWhen
property so that the behaviour can be customised (e.g. to apply an active
class to a parent route link).
However I was scratching my head trying to get it to work with query params, so this looks ideal for that.