added angular-nvd3-directive test code to index