title: How to open a mat-menu from another component using a service?
body: <p>Hi guys i have two components both of them are siblings for that reason i need to use a service but i don't how to send the instance of the [MatMenuTriggerFor] to my another component.
  Any help? </p>
  
  <p>This is the code from one of my navBar.component where i have the logic to open my menu but from here .</p>
  
  <pre><code>&lt;li class="nav-item"&gt;
          &lt;a class="nav-link" id="categorias" [matMenuTriggerFor]="clickHoverMenu" #clickHoverMenuTrigger="matMenuTrigger"
            (mouseover)="openOnMouseOver($event)"&gt;
             Categorias 
              &lt;/a&gt;
  &lt;/li&gt;
  </code></pre>
  
  <p>and this is the code of my slidebar component where i wanna open my menu </p>
  
  <pre><code>&lt;mat-menu #clickHoverMenu='matMenu'&gt;
    &lt;button mat-menu-item&gt;Item 1&lt;/button&gt;
    &lt;button mat-menu-item&gt;Item 2&lt;/button&gt;
  &lt;/mat-menu&gt;
  </code></pre>
  
  <p>Thanks for your help</p>