fix issues when using minification

Current version doesn't work when using minication. https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/pull/33 fixes all of the issues I found when using minification and I think ([based on](http://stackoverflow.com/a/21446129/1233435)) this is the correct CoffeeScript fix to make that happen.