Moved default duration from factory to controller