I am trying to use AngularJS to use DevExtreme. I am using TypeScript. Now there is a small problem, without using the DX module in my application it all just works. But when I try to use DX, I get this error :
angular.js: 4087Uncaught Error: [$ injector: modulerr] http://errors.angularjs.org/1.3.0/ $ injector / modulerr? p0 = myApp & p1 = Error% 3A% 2 ... loudflare.com% 2Fajax% 2Flibs% 2Fangular.js% 2F1.3.0% 2Fangular.min.js% 3A18% 3A3)
I have already done some research, but I just canβt find a solution to this problem.
My code for entering modules:
var modules = ['controllers', 'services'];
modules.forEach((module) => angular.module(module, []));
modules.push("ngRoute");
modules.push("dx");
So, for the clearance, this works IS :
var modules = ['controllers', 'services'];
modules.forEach((module) => angular.module(module, []));
modules.push("ngRoute");
Thanks in advance!