angular/angular-hint

View on GitHub
e2e/_unused/manual-bootstrap.html

Summary

Maintainability
Test Coverage
<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Angular Hint Example</title>

    <script src="../../node_modules/angular/angular.js"></script>
    <script src="../../node_modules/angular-route/angular-route.js"></script>
    <script src="../../dist/hint.js"></script>
    <script src="../util.js"></script>

  </head>
  <body>
    <div id="title">Manual Bootstrap Example</div>
      <div ng-controller="ManualController" id="test">
      This is a test div that the controller will attempt to remove. Such manipulation
      of the DOM will cause ng-hint-dom to log a message if it is loaded correctly
      by the manual bootstrapping.
      </div>
  </body>

  <script>
    var app = angular.module('manualBootstrapHint', [])
    .controller('ManualController', function() {
      var element = document.getElementById('test');
    });
    angular.bootstrap(document, ['manualBootstrapHint', 'ngHintDom']);
  </script>
</html>