estsolba Report post Posted February 19, 2016 Hello, I am building a Laravel, AngularJS web app. I inject the dependency and all the js files are compiled correctly in the app.js. But whenever I try to load the page, the error appears: Uncaught ReferenceError: FusionCharts is not defined(anonymous function) @ fusioncharts.charts.js:11 All the fusion js files are in a folder which is compiled by gulp. The angular-fusion js file is in the directives folder and it is injected correctly. I am really confused by this problem. Any ideas? Share this post Link to post Share on other sites
Moonmi Sonowal Report post Posted February 22, 2016 Hi, Can you refer the fiddle http://jsfiddle.net/moonmi/hxsm9ow5/ ? (it has been updated with latest FusionCharts and angular plugin) It only happens when the fusioncharts js files are not present in the intended folder. and ref. doc: http://www.fusioncharts.com/dev/using-with-javascript-libraries/angularjs/introduction.html Please re-check with the files and the sample shared. Thanks. Share this post Link to post Share on other sites