Update directives.js

updated 'timeslot' to include attribute for passing a json Object representing the "timeslot" instance