title: elementClick event is not firing in angular-nvd3 chart
body: <p>I am using <a href="https://krispo.github.io/angular-nvd3/" rel="nofollow">Angular-nvd3</a> for drawing the pie chart.</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;nvd3 options="options.chart.options" data="options.chart.data" api="options.chart.api" config="config" events="events"&gt;&lt;/nvd3&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/mEgik.png" rel="nofollow"><img src="https://i.stack.imgur.com/mEgik.png" alt="enter image description here"></a></p>
  
  <p><strong>Javascript</strong></p>
  
  <pre><code>$scope.options.chart = {
      options: {
          chart: {
              type: 'pieChart',
              height: 500,
              margin: {
                  top: 0,
                  right: 40,
                  bottom: 80,
                  left: 40
              },
              x: function(d) {
                  return d.key;
              },
              y: function(d) {
                  return d.y;
              },
              showLabels: true,
              duration: 1500,
              labelThreshold: 0.01,
              showLegend: true,
              lines: {
                  dispatch: {
                      elementClick: function(e) {
                          console.log('click')
                      },
                      elementMouseover: function(e) {
                          console.log('mouseover')
                      },
                      elementMouseout: function(e) {
                          console.log('mouseout')
                      }
                  }
              }
          }
      },
      data: [{
          key: "One",
          y: 5
      }, {
          key: "Two",
          y: 2
      }, {
          key: "Three",
          y: 9
      }, {
          key: "Four",
          y: 7
      }, {
          key: "Five",
          y: 4
      }, {
          key: "Six",
          y: 3
      }, {
          key: "Seven",
          y: .5
      }],
      api: {}
  };
  </code></pre>
  
  <p>I need to  call an event,when the user click on the pie chart.But  the above code is not working.Please help me?</p>