Update directives.js

Trying wait youtube api for slow connection