```
BN('i-api-request').on('error', function (e) {
    //hide ajax loader
});
```