Skip to content

Webpack with angular 1.5 and ui-router 1.0.0-beta.3 causes angular undefined error #3113

Closed
@milo-

Description

@milo-

When updating from beta.2 to beta.3 I get an error saying angular-ui-router.js:6625 Uncaught TypeError: angular.module is not a function

I'm using webpack with angular 1.5.

I believe the issue might be caused by angular not working exporting itself correctly: http://stackoverflow.com/questions/35571090/why-requireangular-returns-an-empty-object

I think this is the same issue reported by @elesdoar

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions