ng-click is not working in angularjs. Please help some one. : <li>
    <a href="javascript:;">
     <i class="fa fa-file-excel-o" ng-click="export()"></i> Export to Excel </a>
</li>


Here is the click function.but it is not working properly. pleas help.