Closed
Description
When using Webpack (or probably some other similar library), it was possible to import ui-router 0.2.* like this:
const angular = require('angular');
angular.module('myApp', [
require('angular-ui-router')
]);
This is possible because when ui-router is imported, the script returns the module name 'ui.router'
. The 1.0.0alpha0 doesn't do this, which means I need to separately import it:
const angular = require('angular');
require('angular-ui-router')
angular.module('myApp', [
'ui.router'
]);