updated duration directive to use attribute based isolate scope
Finish making datepicker directive modular