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.