monterail/angular-date-range-picker — pull request #8 by mjquinlan2000 (2014-02-17 22:55:03+00:00)
Title: Unbind Document Click Event

The bound document click event created in this directive was interfering with other click events after I had navigated away from the page I was using it on. Regardless, the bound function should be unbound upon destruction of the scope so that we don't have rogue click events running when they no longer apply. Please feel free to contact me with any questions or concerns.