Angularjs jQuery datatables add processing event
<p>I use the Angular datatables module. <a href="https://github.com/l-lin/angular-datatables" rel="nofollow">https://github.com/l-lin/angular-datatables</a></p>

<p>I try add the <code>processing.dt</code> event, but it does not work.</p>

<p>This is the original code from the base api
<a href="https://datatables.net/reference/event/processing" rel="nofollow">https://datatables.net/reference/event/processing</a></p>

<pre><code>$('#example')
    .on( 'processing.dt', function ( e, settings, processing ) {
        $('#processingIndicator').css( 'display', processing ? 'block' : 'none' );
    } )
    .dataTable();
</code></pre>

<p>And this is my unworked code</p>

<pre><code>.withOption('processing.dt', function( e, settings, processing){
           console.log(processing);
           $scope.loading = processing;
           }) .withOption('initComplete', function(){
                $scope.loading = false;
           })
</code></pre>