Closed ghost closed 9 years ago
I'm trying to use ngTable with require.js and head.js but I'm getting the following error:
Uncaught Error: Mismatched anonymous define() module: function (angular) { return factory(angular); }
Here is my boot file:
(function(head){ 'use strict'; head.js( { jquery: "../vendor/jquery/dist/jquery.js"}, { require: "../vendor/requirejs/require.js" }, { angularjs: "../vendor/angular/angular.js" }, { uiRouter: "../vendor/angular-ui-router/release/angular-ui-router.js" }, { angularTable: "../vendor/ng-table/ng-table.js"} ).ready("ALL", function(){ require.config({ appDir: '', baseUrl: '', paths: { }, shim: { } }); require(['config'], function(config){ }); }); }(window.head));
Can youhelp me with this problem?
I'm trying to use ngTable with require.js and head.js but I'm getting the following error:
Uncaught Error: Mismatched anonymous define() module: function (angular) { return factory(angular); }
Here is my boot file:
Can youhelp me with this problem?