<commit_before><div class="bs-docs-section" ng-controller="NavbarDemoCtrl">

  <div class="page-header">
    <h1 id="navbars">Navbar <a class="small" href="//github.com/mgcrea/angular-strap/blob/master/src/navbar/navbar.js" target="_blank">navbar.js</a>
    </h1>
    <code>mgcrea.ngStrap.navbar</code>
  </div>


  <h2 id="navbars-examples">Examples</h2>
  <p>Add quick, dynamic navbar functionality to transition through active/inactive states.</p>

  <h3>Live demo <a class="small edit-plunkr" data-module-name="mgcrea.ngStrapDocs" data-content-html-url="navbar/docs/navbar.demo.html" data-content-js-url="navbar/docs/navbar.demo.js" ng-plunkr data-title="edit in plunker" data-placement="right" bs-tooltip></a></h3>
  <pre class="bs-example-scope">$location.path() = "{{$location.path()}}";</pre>
  <div class="bs-example" append-source>
    <nav class="navbar navbar-default" role="navigation" bs-navbar>
      <div class="navbar-header">
        <a class="navbar-brand" href="#">Brand</a>
      </div>
      <ul class="nav navbar-nav">
        <li data-match-route="/$"><a href="#/">Home</a></li>
        <li data-match-route="/page-one"><a href="#/page-one">Page One</a></li>
        <li data-match-route="/page-two.*"><a href="#/page-two/sub-a">Page Two</a></li>
      </ul>
    </nav>
  </div>

  <h2 id="navbars-usage">Usage</h2>
  <p>Append a <code>bs-navbar</code>attribute to any element to activate the directive.</p>
  <p>Use <code>data-match-route</code> attributes to any children navigation item that should be toggled active.</p>
  <div class="callout callout-info">
    <h4>Heads up!</h4>
    <p>The directives also supports <code>HTML5 mode</code>, you just have to drop the <code>href</code> dashes.</p>
  </div>


  <h3>Options</h3>
  <p>Options can be passed via data attributes, append the option name to <code>data-</code>, as in <code>data-route-attr=""</code>.</p><commit_msg>docs(navbar): fix typo<commit_after><div class="bs-docs-section" ng-controller="NavbarDemoCtrl">

  <div class="page-header">
    <h1 id="navbars">Navbar <a class="small" href="//github.com/mgcrea/angular-strap/blob/master/src/navbar/navbar.js" target="_blank">navbar.js</a>
    </h1>
    <code>mgcrea.ngStrap.navbar</code>
  </div>


  <h2 id="navbars-examples">Examples</h2>
  <p>Add quick, dynamic navbar functionality to transition through active/inactive states.</p>

  <h3>Live demo <a class="small edit-plunkr" data-module-name="mgcrea.ngStrapDocs" data-content-html-url="navbar/docs/navbar.demo.html" data-content-js-url="navbar/docs/navbar.demo.js" ng-plunkr data-title="edit in plunker" data-placement="right" bs-tooltip></a></h3>
  <pre class="bs-example-scope">$location.path() = "{{$location.path()}}";</pre>
  <div class="bs-example" append-source>
    <nav class="navbar navbar-default" role="navigation" bs-navbar>
      <div class="navbar-header">
        <a class="navbar-brand" href="#">Brand</a>
      </div>
      <ul class="nav navbar-nav">
        <li data-match-route="/$"><a href="#/">Home</a></li>
        <li data-match-route="/page-one"><a href="#/page-one">Page One</a></li>
        <li data-match-route="/page-two.*"><a href="#/page-two/sub-a">Page Two</a></li>
      </ul>
    </nav>
  </div>

  <h2 id="navbars-usage">Usage</h2>
  <p>Append a <code>bs-navbar</code>attribute to any element to activate the directive.</p>
  <p>Use <code>data-match-route</code> attributes to any children navigation item that should be toggled active.</p>
  <div class="callout callout-info">
    <h4>Heads up!</h4>
    <p>The directives also supports <code>HTML5 mode</code>, you just have to drop the <code>hash symbol</code> from the href.</p>
  </div>


  <h3>Options</h3>
  <p>Options can be passed via data attributes, append the option name to <code>data-</code>, as in <code>data-route-attr=""</code>.</p>
{'fraction_non_alphanumeric': 0.19864265204907336, 'fraction_numerical': 0.006786739754633255, 'mean_word_length': 4.042105263157895, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 0, '>': 141, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6866214', 'n_tokens_mistral': 1399, 'n_tokens_neox': 1339, 'n_words': 276}