Demonstrates the menus API.
You can customize the events that open and close a menu by using the $mdMenu.open and $mdMenu.close methods. This is an example of triggering a menu on hover, instead of click. You can add the md-dense class to the md-menu-content element in order to reduce the size of menu items as described in the Menu Specs. The md-position-mode attribute can be used to specify the positioning along the x and y axis.