Skip to content

Conversation

@Nate-Wilkins
Copy link

Follow outlined UMD (Universal Module Definition)
- https://github.com/umdjs/umd/blob/master/amdWeb.js

Related Issues:
- #340
- #284
- #307
@wonsikin
Copy link

wonsikin commented Oct 5, 2014

in your require config ,just export angular like this

shim: {
        'angular':{
            exports: 'angular'
        },
    }

@Nate-Wilkins
Copy link
Author

@wonsikin I have no clue how to fix this. My pr doesn't really solve this at all.

I'd personally rather not have ng-table require angular in it's dependencies list. Mostly because I'd like to setup my own paths/shim without requiring angular to be set to the module id angular ex. lib/angular

@e-cloud
Copy link

e-cloud commented Mar 25, 2015

@esvit, i think this PR is worth merging.

@mrniko
Copy link

mrniko commented Sep 16, 2015

+1

@christianacca
Copy link
Collaborator

As of version 2.0.0 angular is now a peer dependency. Also the library is packaged with webpack which means full support for the UMD format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants