title: Angular 2: Directive Subscribe To Observables of a service
body: <p>How would one have a directive subscribe to a service so that when the service updates, then the directive updates. So for example, lets say I want the view to react from a permission directive, and instead of submitting the data from each component into the directive when something changes, the directive would wait until a new permission update is pushed to it to reflect the changes from the service instead of a input change. So the permission directives manage themselves without the need of each component have to manage the data being injected into it.</p>
  
  <pre><code> &lt;div *hasPermission="'admin_user_reset'"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>And some directive that is subscribed to a service.</p>