index.html 1.1 KB

123456789101112131415161718192021222324252627
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns:ng="http://angularjs.org" ng-app="app">
  3. <head>
  4. <script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
  5. <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.8/angular.min.js"></script>
  6. <script type="text/javascript" src="bower_components/angular-ui-router/release/angular-ui-router.js"></script>
  7. <script type="text/javascript" src="../../src/ocLazyLoad.js"></script>
  8. <script type="text/javascript" src="js/app.js"></script>
  9. <style>
  10. .gridStyle {
  11. border: 1px solid rgb(212, 212, 212);
  12. width: 400px;
  13. height: 200px
  14. }
  15. </style>
  16. </head>
  17. <body class="container">
  18. <h1 class="page-header">$ocLazyLoad</h1>
  19. <p>
  20. With ocLazyLoad you can lazy load js / css / templates with a service and/or a directive.<br/>
  21. <small><i>If you get on error when you load the page the first time, don't forget to use `bower install` to download the libraries used in this example.</i></small>
  22. </p>
  23. <div ui-view="lazyLoadView"></div>
  24. </body>
  25. </html>