javascript - Error: [ng:areq] Argument 'DepartmentCustomReportController' is not a function, got undefined in Internet Explorer -


i'm facing error in internet explorer , when try same controller in chrome working fine. index.html :

<script src="assets/js/boostrapjs/jquery-1.11.1.min.js"></script> <script src="assets/js/boostrapjs/angular.js"></script> <script src="assets/js/boostrapjs/ngdialog.js"></script> <script src="assets/js/boostrapjs/angular-route.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/angular-google-chart/0.1.0/ng-google-chart.min.js"         type="text/javascript"></script> <script src="assets/js/boostrapjs/ui-bootstrap-tpls.js"></script> <script src="assets/js/boostrapjs/angular-animate.js"></script> <script src="assets/js/boostrapjs/angular-touch.js"></script> <script src="assets/js/boostrapjs/angular-ui-router.js"></script> <script src="app/components/app.js"></script> <script src="app/components/sonar/sonarcontroller.js"></script> <script src="app/components/teamcity/teamcitycontroller.js"></script> <script src="app/components/tom/tomcontroller.js"></script> <script src="app/components/admin/admincontroller.js"></script> <script src="app/components/kpientity/kpientitycontroller.js"></script> <script src="app/components/history/historycontroller.js"></script> <script src="app/components/kpidefinitions/kpidefinitionscontroller.js"></script> <script  src="app/components/customreports/departmentcustomreportcontroller.js"></script> <script type="text/javascript" src="fusioncharts-suite-xt/js/fusioncharts.js"></script> <script type="text/javascript" src="fusioncharts-suite-xt/js/themes/fusioncharts.theme.fint.js"></script> <script type="text/javascript" src="fusioncharts-suite-xt/angularjs-plugin/wrappers/angularjs/angular-fusioncharts.min.js"></script> 

also in js code defined controller below

angular.module('dashboardapp').controller('departmentcustomreportcontroller', ['$scope','$http', 'baseurl', 'sharedproperties', 'ngdialog', function ($scope, $http, baseurl, sharedproperties, ngdialog) { 

the problem said in internet explorer 11 , , using javascript 6.

the problem used fusion charts libraries , that's why not working in internet explorer , because of getting error in ie ,and in chrome working fine.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -