Encountered a bug while working with angular-material design... When using md-menu, if a sub menu item is opened (as shown in the image) and then hovering over a non-subMenu item (menu item), it throws an error "Cannot read property 'open' of null" and remains highlighted even after hovering over other menu items, requiring a click to open the sub-menu-item.
Here is the code snippet:
<md-menu>
<button ng-click="$mdOpenMenu()">menu</button>
<md-menu-content>
<md-menu-item>
<md-button ng-click="---">menu item</md-button>
</md-menu-item>
<md-menu-divider></md-menu-divider>
<md-menu-item>
<md-menu>
<md-button ng-click="$mdOpenMenu()">sub menu</md-button>
<md-menu-content>
<md-menu-item><md-button ng-click="---">sub menu item</md-button></md-menu-item>
</md-menu-content>
</md-menu>
</md-menu-item>
</md-menu-content>
</md-menu>