AngularJS filter for converting a number of seconds to a human readable time