updating to work in angular 1.2, more options

Removing some unnecessary functions and calls, adding more options that
the datepicker supports, supporting spaces in separator attribute,
works with angular 1.2.6