I\'m working on an angularjs application using angularjs-nvd3-directives to render charts.
After a check with Chrome Developer Tools, I detected some memory leaks linked
There is a similar issue at the github: https://github.com/cmaurer/angularjs-nvd3-directives/issues/193
As I explained there the following worked better:
$rootScope.$on('$stateChangeStart', function (event, toState, toParams, fromState, fromParams) {
angular.element(document.body.querySelectorAll('.nvd3')).remove();
This solves the SVG memory leaks. But still there are some memory leaks on the data side (Array).