Angular Directive for Turn JS version 3