title: custom Scroll-Bar on a div element in Angular 2.0 CLI project?
body: <p>I want to make a nice horizontal scroll bar in one of my div's. Like this ones here:
  <a href="https://i.stack.imgur.com/ziWhi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ziWhi.png" alt="enter image description here"></a></p>
  
  <p>I'm using angular2 CLI project.</p>
  
  <p><strong>What I've tried so far:</strong> 
  I found this package <a href="https://github.com/jkuri/ng2-slimscroll" rel="nofollow noreferrer">angular2-slimscroll</a> - the latest updated one is <a href="https://github.com/jkuri/ng2-slimscroll" rel="nofollow noreferrer">here</a>: - but is not working as expected - i guess it has to do with the final angular 2.0 final release which broke the code.</p>
  
  <pre><code>npm install ng2-slimscroll --save
  </code></pre>
  
  <p>In my <strong><em>app.module.ts</em></strong> i have: </p>
  
  <pre><code>import {SlimScroll} from 'ng2-slimscroll';
  @NgModule({
      declarations: [
          AppComponent,
          SlimScroll // added as a directive
      ]
      ....
  })
  </code></pre>
  
  <p>Than in the <strong><em>scrollable.component.ts</em></strong> i do:</p>
  
  <pre><code>import {SlimScroll} from 'ng2-slimscroll';
  Import { Component } from '@angular/core'
  
  @Component({
       selector: 'my-app',
       templateUrl: '
          &lt;div class="my-scrollable-div" 
               slimscroll                      // the directive doesn't work.
               background="#333" 
               opacity="0.6" 
               position="right" 
               width="7px"&gt; 
  
               Div Content is empty !! I don't know how to use this i guess:)
  
          &lt;/div&gt;',
       styleUrls: ['./my-app.component.css']
  })
  </code></pre>
  
  <p><strong>Questions:</strong> </p>
  
  <p>Any ideas why this SlimScroll package is not working?</p>
  
  <p>Other solutions ? What are you guys using for this job? (angular2 related)</p>
  
  <p>Just to clarify. I'm not fixated on this package. Any implementation will do for now. But i think is better to use a package - instead of trying to implement myself a cross browser compatibility thing for this custom scroll.</p>
  
  <p>Thank's so much!</p>