<html ng-app="myApp"> 
  <head> 
    <!-- Include 3rd party libraries -->
    <script src="bower_components/d3/d3.js" charset="UTF-8"></script>
    <script src="bower_components/angular/angular.js" charset="UTF-8"></script>

    <!-- Include the application files -->
    <link href="src/app.css" rel="stylesheet">

    <!-- Include the files of the chart component -->
    <script src="src/chart.js"></script>
    <link href="src/chart.css" rel="stylesheet">

    <script>

      /* src/app.js */
      // Application Module 
      angular.module('myApp', ['myChart'])

      // Main application controller
      .controller('MainCtrl', ["$scope", "SimpleHttpLoader",
        function ($scope, SimpleHttpLoader) {
          
          $scope.log = {
            src: 'files/access.log',
            data: ''
          };

          SimpleHttpLoader($scope.log.src)
            .then(function(response){
              $scope.log.data = response.data;
          });
      }]);

    </script>

  </head>
  <body>
    <div ng-controller="MainCtrl">
      <h3>{{ log.src }}</h3>
      <p>{{ log.data }}</p>
    </div>
  </body> 
</html>