<commit_before>'use strict';

/**
 * @ngdoc function
 * @name openshiftConsole.controller:NewFromTemplateController
 * @description
 * # NewFromTemplateController
 * Controller of the openshiftConsole
 */
angular.module('openshiftConsole')
  .controller('NewFromTemplateController', function ($scope, $http, $routeParams, DataService, $q, $location, TaskList, $parse) {

    function errorPage(message) {
      var redirect = URI('error').query({
        "error_description": message
      }).toString();
      $location.url(redirect);
    }
<commit_msg>Create from template fails with JS error<commit_after>'use strict';

/**
 * @ngdoc function
 * @name openshiftConsole.controller:NewFromTemplateController
 * @description
 * # NewFromTemplateController
 * Controller of the openshiftConsole
 */
angular.module('openshiftConsole')
  .controller('NewFromTemplateController', function ($scope, $http, $routeParams, DataService, $q, $location, TaskList, $parse, Navigate) {

    function errorPage(message) {
      var redirect = URI('error').query({
        "error_description": message
      }).toString();
      $location.url(redirect);
    }

{'fraction_non_alphanumeric': 0.13013100436681221, 'fraction_numerical': 0.0, 'mean_word_length': 4.73, 'pattern_counts': {'":': 2, '<': 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': '7138563', 'n_tokens_mistral': 312, 'n_tokens_neox': 303, 'n_words': 71}