Add nvd3 directives to karma.