<!DOCTYPE html>

<html>
<head>
  <title>niceScrollDirective.js</title>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <meta name="viewport" content="width=device-width, target-densitydpi=160dpi, initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
  <link rel="stylesheet" media="all" href="docco.css" />
</head>
<body>
  <div id="container">
    <div id="background"></div>
    
      <ul id="jump_to">
        <li>
          <a class="large" href="javascript:void(0);">Jump To &hellip;</a>
          <a class="small" href="javascript:void(0);">+</a>
          <div id="jump_wrapper">
          <div id="jump_page">
            
              
              <a class="source" href="app.html">
                app.js
              </a>
            
              
              <a class="source" href="movieController.html">
                movieController.js
              </a>
            
              
              <a class="source" href="movieShowController.html">
                movieShowController.js
              </a>
            
              
              <a class="source" href="profileController.html">
                profileController.js
              </a>
            
              
              <a class="source" href="userShowController.html">
                userShowController.js
              </a>
            
              
              <a class="source" href="commentsDirective.html">
                commentsDirective.js
              </a>
            
              
              <a class="source" href="favoriteMoviesDirective.html">
                favoriteMoviesDirective.js
              </a>
            
              
              <a class="source" href="niceScrollDirective.html">
                niceScrollDirective.js
              </a>
            
              
              <a class="source" href="userFormDirective.html">
                userFormDirective.js
              </a>
            
              
              <a class="source" href="whenScrolledDirective.html">
                whenScrolledDirective.js
              </a>
            
              
              <a class="source" href="kernel.html">
                kernel.js
              </a>
            
              
              <a class="source" href="require-config.html">
                require-config.js
              </a>
            
              
              <a class="source" href="router.html">
                router.js
              </a>
            
              
              <a class="source" href="categoryService.html">
                categoryService.js
              </a>
            
              
              <a class="source" href="commentService.html">
                commentService.js
              </a>
            
              
              <a class="source" href="movieService.html">
                movieService.js
              </a>
            
              
              <a class="source" href="userService.html">
                userService.js
              </a>
            
          </div>
        </li>
      </ul>
    
    <ul class="sections">
        
          <li id="title">
              <div class="annotation">
                  <h1>niceScrollDirective.js</h1>
              </div>
          </li>
        
        
        
        <li id="section-1">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-1">&#182;</a>
              </div>
              
            </div>
            
            <div class="content"><div class='highlight'><pre>define([<span class="hljs-string">'app'</span>, <span class="hljs-string">'nicescroll'</span>], <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">(gobbmovies)</span> {</span>
    gobbmovies.directive(<span class="hljs-string">'ngNiceScroll'</span>, <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">()</span> {</span>
        <span class="hljs-keyword">return</span> {
            restrict: <span class="hljs-string">'AEC'</span>,
            link: <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">($scope, $element, $attrs)</span> {</span></pre></div></div>
            
        </li>
        
        
        <li id="section-2">
            <div class="annotation">
              
              <div class="pilwrap ">
                <a class="pilcrow" href="#section-2">&#182;</a>
              </div>
              <p>Use jQuery plugin niceScroll for element.</p>

            </div>
            
            <div class="content"><div class='highlight'><pre>                $element.niceScroll();
            }
        };
    });
});</pre></div></div>
            
        </li>
        
    </ul>
  </div>
</body>
</html>
