<commit_before>'use strict';

/* Controllers */

var appIndex = angular.module('appIndex', []);


appIndex.controller('AppListCtrl', function($scope) {
  $scope.apps = [{
    'name': 'Business Central 6.3.0 ER1',
    'uri': 'http://apps.justinholmes.co:8630/business-central',
    'notes': 'Environment for Business Automation Solution Development'
  }, {
    'name': 'KIE Server 6.3.0 ER1',
    'uri': 'http://apps.justinholmes.co:8630/kie-server/services/rest/server',
    'notes': ''
  }, {
    'name': 'Dashbuilder 6.3.0 ER1',
    'uri': 'http://apps.justinholmes.co:8630/dashbuilder',
    'notes': ''
  },{
    'name': 'Business Central 6.2.1',
    'uri': 'http://apps.justinholmes.co:8621/business-central',
    'notes': ''
  }, {
    'name': 'KIE Server 6.2.1',
    'uri': 'http://apps.justinholmes.co:8621/kie-server/services/rest/server',
    'notes': ''
  }, {
    'name': 'Dashbuilder 6.2.1',
    'uri': 'http://apps.justinholmes.co:8621/dashbuilder',
    'notes': ''
  },{
    'name': 'Business Central 6.1.5',
    'uri': 'http://apps.justinholmes.co:8615/business-central',
    'notes': ''
  }, {
    'name': 'KIE Server 6.1.5',
    'uri': 'http://apps.justinholmes.co:8615/kie-server/services/rest/server',
    'notes': ''
  }, {
    'name': 'Dashbuilder 6.1.5',
    'uri': 'http://apps.justinholmes.co:8615/dashbuilder',
    'notes': ''
  },{
    'name': 'Business Central 6.2.2',
    'uri': 'http://apps.justinholmes.co:8080/business-central',
    'notes': 'Environment for <NAME> and <NAME>'
  },{
    'name': 'Business Central 6.3.0 ER1',
    'uri': 'http://10.3.11.245:8080/business-central',
    'notes': '<NAME>\'s sandbox'
  }, {
    'name': 'KIE Server 6.3.0 ER1',
    'uri': 'http://10.3.11.245:8080/kie-server/services/rest/server',
    'notes': '<NAME>\'s sandbox'
  }, {
    'name': 'Dashbuilder 6.3.0 ER1',
    'uri': 'http://10.3.11.245:8080/dashbuilder',
    'notes': '<NAME>\'s sandbox'
  }];
});<commit_msg>using remote apis for controller<commit_after>'use strict';

/* Controllers */

var appIndex = angular.module('appIndex', []);


appIndex.controller('AppListCtrl', function($scope, $http) {
    $http.get('http://apps.justinholmes.co/mongo/apps/apps/56f5618ea94bba245f723743').success(function(data) {
    $scope.apps = data.apps;
  });
});
{'fraction_non_alphanumeric': 0.22651448639157157, 'fraction_numerical': 0.06057945566286216, 'mean_word_length': 3.3742802303262955, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 3, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5177254', 'n_tokens_mistral': 948, 'n_tokens_neox': 869, 'n_words': 135}