khaines/angular-applicationinsights

View on GitHub
demo/index.html

Summary

Maintainability
Test Coverage
<!-- index.html -->
    <!DOCTYPE html>
    <html ng-app="appAnalyticsDemo">
    <head>
      <base href="/">
      <!-- load bootstrap and fontawesome via CDN -->
      <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">  
      <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">

      <!-- load angular and angular route via CDN -->
      <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.10/angular.js"></script>
      <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.10/angular-route.js"></script>

      <!-- <script src="src/angular-applicationinsights.js"></script>-->
      <script src="build/angular-applicationinsights.js"></script>
      <script src="controllers.js"></script>

      <!-- Primary App Script-->
      <script src="ui.js"></script>
    </head>
    <body>

        <!-- HEADER AND NAVBAR -->
        <header>
            <nav class="navbar navbar-default">
            <div class="container">
                <div class="navbar-header">
                    <a class="navbar-brand" href="/">Angular Insights Example</a>
                </div>

                <ul class="nav navbar-nav navbar-right">
                    <li><a href="#/"><i class="fa fa-home"></i> Home</a></li>
                    <li><a href="#page1"><i class="fa fa-shield"></i> Page1</a></li>
                    <li><a href="#page2"><i class="fa fa-comment"></i> Page2</a></li>
                </ul>
            </div>
            </nav>
        </header>

        <!-- MAIN CONTENT AND INJECTED VIEWS -->
        <div id="main">
            <div ng-view></div>
        </div>
    </body>
    </html>