Angular directive for report.js