angular-peity icon indicating copy to clipboard operation
angular-peity copied to clipboard

Please add Dynamic options checking

Open unluckynelson opened this issue 8 years ago • 0 comments

Please add this to your directive:

var OptsWatcher = scope.$watch('options', function () {
    jQuery(span).peity(chartType, options);
}, true);

scope.$on('$destroy', function () {
    watcher();
    OptsWatcher();
});

unluckynelson avatar May 03 '17 08:05 unluckynelson