I am trying to achieve a specific effect on the ui-views
<md-card id="sidebar" flex="20" class="sche-card" layout-padding="true">
<div ui-view="card" autoscroll="false"></div>
</md-card>
However, I am facing an issue where the card appears empty when the view is not enabled. I attempted placing this code snippet inside the partial but it resulted in broken styling and the card not displaying properly.
partial.html
<md-card id="sidebar" flex="20" class="sche-card" layout-padding="true">
<p>Card Contents</p>
</md-card>
Can anyone advise on the correct way to use md-card in partials?