Update app/assets/javascripts/views/DoctorScheduleView.js

Used bind