date min max factory controller ng