fix(directive-generator): fix how script tags are injected into index.html when directive generator runs