Karl-Gustav/autoActive — pull request #3 by niemyjski (2014-11-20 22:20:36+00:00)
Title: Fixed a bug on load.

There was a bug where the class wouldn't be set to active if you are building your urls inside of a ng-href. The timeout fixes this issue.

I also updated the code to clean up any events when the scope is destroyed.