Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2014
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. <div id="navigation" data-ng-cloak>
  2. <ul data-ng-controller="FoliosController" class="nav nav-pills nav-stacked">
  3. <li data-ng-repeat="folio in folios" class="active"><a href="#">{{folio.title}}</a></li>
  4. </ul>
  5. </div>
  6.  
  7. var self = this;
  8. var navigation = angular.module("navigation", []);
  9. navigation.controller("FoliosController", function($scope){self.foliosController($scope)});
  10. angular.bootstrap(document.getElementById("navigation"), ["navigation"]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement