angular-peity
angular-peity copied to clipboard
Please add Dynamic options checking
Please add this to your directive:
var OptsWatcher = scope.$watch('options', function () {
jQuery(span).peity(chartType, options);
}, true);
scope.$on('$destroy', function () {
watcher();
OptsWatcher();
});