<commit_before>'use strict';

angular.module('casusMIT3.index', ['ngRoute','AdalAngular'])

.config(['$routeProvider', function($routeProvider) {
  $routeProvider.when('/index', {
    templateUrl: 'index/index.html',
    controller: 'indexCtrl',
    requireADLogin: true
  });
}])


.controller('indexCtrl', ['adalAuthenticationService', '$http', '$scope', function(adalService,$http,$scope) {

  $scope.reports;
  test();

  function test(){
    $http.get('https://api.powerbi.com/beta/myorg/reports')
      .then(function (response) {<commit_msg>Added Power BI Data factory<commit_after>'use strict';

angular.module('casusMIT3.index', ['ngRoute','AdalAngular'])

.config(['$routeProvider', function($routeProvider) {
  $routeProvider.when('/index', {
    templateUrl: 'index/index.html',
    controller: 'indexCtrl',
    requireADLogin: true
  });
}])


.controller('indexCtrl', ['adalAuthenticationService', '$http', '$scope', function(adalService,$http,$scope) {

  $scope.reports;
  test();

  function test(){
    $http.get('https://api.powerbi.com/beta/myorg/reports')
      .then(function (response) {
        console.log("het is gelukt");
{'fraction_non_alphanumeric': 0.19337979094076654, 'fraction_numerical': 0.0017421602787456446, 'mean_word_length': 5.079365079365079, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '65932', 'n_tokens_mistral': 372, 'n_tokens_neox': 356, 'n_words': 57}