dangrossman/bootstrap-daterangepicker — pull request #26 by tgriesser (2012-10-19 19:00:03+00:00)
Title: Adding remove for cleaning up plugin data/bindings/html

Working in a single page app, it becomes necessary to properly cleanup the events & html container bound when removing a page from the app.

I've namespaced the events and added an option of `remove:true` to take care of the clean up for the plugin.

```
// removes the data, bindings, and container html for the daterangepicker
$('input[name="daterange"]').daterangepicker({remove:true});

or

$('input[name="daterange"]').data('daterangepicker').remove();
```