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?
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?