I figured out how to use this with Angular-Meteor, with ES2016 syntax (import/exports etc.), noticed there is not any other posts sorting this out, so hopefully this will help someone out there.
I ran into issues with Angular-Meteor not accepting the module name 'md.data.table' - likely due to the inclusion of ponta. So I changed all the module name throughout the source to mdDataTable and imported it as 'import mdDataTable from 'angular-material-data-table' and included it into my app module as mdDataTable.
I also had issues importing the css file/s as they are not preprocessed. Simply copied the dist version to my app and linked to this instead.
Not perfect as I will have to manually update, but it is up and working :)
Awesome package daniel, thanks for doing the hard yards.
Hi,
I figured out how to use this with Angular-Meteor, with ES2016 syntax (import/exports etc.), noticed there is not any other posts sorting this out, so hopefully this will help someone out there.
I ran into issues with Angular-Meteor not accepting the module name 'md.data.table' - likely due to the inclusion of ponta. So I changed all the module name throughout the source to mdDataTable and imported it as 'import mdDataTable from 'angular-material-data-table' and included it into my app module as mdDataTable.
I also had issues importing the css file/s as they are not preprocessed. Simply copied the dist version to my app and linked to this instead.
Not perfect as I will have to manually update, but it is up and working :)
Awesome package daniel, thanks for doing the hard yards.