namespaceml-duration
Source: directives/
angular attribute directive; parses ISO duration (xs:duration) strings.
Transcludes markup, and creates a new scope with the following properties:
years,months,weeks,days,hours,minutes,secondstoString: a function that returns the original text serialization of the duration
see ml-metrics for an example