---
layout: "docs_api"
version: "unstable"
versionHref: "/docs/unstable"
path: "api/service/$famousPipe/"
title: "$famousPipe"
header_sub_title: "Service in module famous.angular"
doc: "$famousPipe"
docType: "service"
---

<div class="improve-docs">
  <a href='https://github.com/Famous/famous-angular/edit/master/src/scripts/services/famousPipe.js#L1'>
    Improve this doc
  </a>
</div>





<h1 class="api-title">

  $famousPipe



</h1>





Provides common helpers for the event pipe directives fa-pipe-from and fa-pipe-to.








  

  
## Methods

<div id="unpipesFromTargets"></div>
<h2>
  <code>unpipesFromTargets(pipes, targets)</code>

</h2>

Unpipes the specified pipes from the specified targets.



<table class="table" style="margin:0;">
  <thead>
    <tr>
      <th>Param</th>
      <th>Type</th>
      <th>Details</th>
    </tr>
  </thead>
  <tbody>
    
    <tr>
      <td>
        pipes
        
        
      </td>
      <td>
        
  <code>EventHandler</code>|<code>Array</code>
      </td>
      <td>
        <p>pipes to unpipe</p>

        
      </td>
    </tr>
    
    <tr>
      <td>
        targets
        
        
      </td>
      <td>
        
  <code>Engine</code>|<code>RenderNode</code>|<code>Array</code>
      </td>
      <td>
        <p>nodes to unpipe from</p>

        
      </td>
    </tr>
    
  </tbody>
</table>









<div id="pipesToTargets"></div>
<h2>
  <code>pipesToTargets(pipes, targets)</code>

</h2>

Pipes the specified pipes to the specified targets.



<table class="table" style="margin:0;">
  <thead>
    <tr>
      <th>Param</th>
      <th>Type</th>
      <th>Details</th>
    </tr>
  </thead>
  <tbody>
    
    <tr>
      <td>
        pipes
        
        
      </td>
      <td>
        
  <code>EventHandler</code>|<code>Array</code>
      </td>
      <td>
        <p>pipes to pipe</p>

        
      </td>
    </tr>
    
    <tr>
      <td>
        targets
        
        
      </td>
      <td>
        
  <code>Engine</code>|<code>RenderNode</code>|<code>Array</code>
      </td>
      <td>
        <p>nodes to pipe to</p>

        
      </td>
    </tr>
    
  </tbody>
</table>








  
  






