Angular nvd3 directive