set up angular datepicker && players factory