Exports module name instead of module itself.

This commit is contained in:
Alexis Lahouze
2017-07-06 10:35:15 +02:00
parent d7de013954
commit a7f37e88a9
7 changed files with 25 additions and 25 deletions

View File

@ -25,7 +25,7 @@ var angular = require('angular');
var ngResource = require('angular-resource');
var categoryChartModule = angular.module('categoryChartModule', [
module.exports = angular.module('categoryChartModule', [
ngResource
])
@ -132,6 +132,6 @@ var categoryChartModule = angular.module('categoryChartModule', [
id: '@id'
}
);
});
})
module.exports = categoryChartModule;
.name;