B-3PO / angular-material-expansion-panel

Material Design Expansion Panels for Angular Material
MIT License
71 stars 25 forks source link

ExpansionPanel not being showed, and Cannot find config module #39

Open JeroenSteen opened 7 years ago

JeroenSteen commented 7 years ago

I can't see ExpansionPanel in my view, I have my controller like so function MyController($mService, $scope, $http, $mdExpansionPanel). And I use the Async method in it, like: $mdExpansionPanel().waitFor('panelOne').then(function (instance).

In my view I have: <md-expansion-panel md-component-id="panelOne"> .. </md-expansion-panel> I can log the instance in JS, but it doesn't show in the UI.

I tried going to my bower_components folder and cd into the expansion folder, and run gulp but I got: Cannot find module './gulp/config'.

Is that the cause, how can I solve it to show expansion panel in the UI?

hishamkaram commented 7 years ago

@B-3PO

khiettran commented 7 years ago

I got the same issue, any solution for this?

B-3PO commented 7 years ago

Can someone post a their code on codepen or jsfiddle? Im having a hard time replicating.