<commit_before>'use strict';

/**
 * @ngdoc function
 * @name miniumMailAppApp.controller:NavbarCtrl
 * @description
 * # NavbarCtrl
 * Controller of the miniumMailAppApp
 */
angular.module('miniumMailApp')
  .controller('NavbarCtrl', function ($modal, loading, configuration) {

    this.openRandomGeneratorWindow = function() {
      $modal.open({
        templateUrl: 'views/random-generator-form.html',
        controller: 'RandomGeneratorFormCtrl',
        controllerAs: 'randomGeneratorFormCtrl'
      });
    };

    this.openConfigurationWindow = function() {
      var modalInstance = $modal.open({
        templateUrl: 'views/configuration-form.html',
        controller: 'ConfigurationFormCtrl',
        controllerAs: 'configFormCtrl',
        resolve: {
          configurationForm: function () {
            return angular.copy(configuration);
          }
        }
      });
      modalInstance.result.then(function (configurationForm) {
        angular.copy(configurationForm, configuration);
      });
    };

    this.openEmbeddedBrowser = function() {
      var modalInstance = $modal.open({
        templateUrl: 'views/browser.html',
        controller: 'BrowserCtrl',
        controllerAs: 'browserCtrl',
        size: 'lg'
      });<commit_msg>jshint error fixed<commit_after>'use strict';

/**
 * @ngdoc function
 * @name miniumMailAppApp.controller:NavbarCtrl
 * @description
 * # NavbarCtrl
 * Controller of the miniumMailAppApp
 */
angular.module('miniumMailApp')
  .controller('NavbarCtrl', function ($modal, loading, configuration) {

    this.openRandomGeneratorWindow = function() {
      $modal.open({
        templateUrl: 'views/random-generator-form.html',
        controller: 'RandomGeneratorFormCtrl',
        controllerAs: 'randomGeneratorFormCtrl'
      });
    };

    this.openConfigurationWindow = function() {
      var modalInstance = $modal.open({
        templateUrl: 'views/configuration-form.html',
        controller: 'ConfigurationFormCtrl',
        controllerAs: 'configFormCtrl',
        resolve: {
          configurationForm: function () {
            return angular.copy(configuration);
          }
        }
      });
      modalInstance.result.then(function (configurationForm) {
        angular.copy(configurationForm, configuration);
      });
    };

    this.openEmbeddedBrowser = function() {
      $modal.open({
        templateUrl: 'views/browser.html',
        controller: 'BrowserCtrl',
        controllerAs: 'browserCtrl',
        size: 'lg'
      });
{'fraction_non_alphanumeric': 0.12127236580516898, 'fraction_numerical': 0.0, 'mean_word_length': 2.8353658536585367, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '5303651', 'n_tokens_mistral': 663, 'n_tokens_neox': 654, 'n_words': 120}