<commit_before>'use strict';

app.directive('wizardStep', [
  'pageService', function (page) {
    return {
      restrict: 'E',
      templateUrl: 'site/wizardStep.html',
      require: '^wizard',
      scope: {},
      transclude: true,
      link: function ($scope, $element, $attrs, wizard) {
        $scope.page = page;
        $scope.name = $attrs.name;
        $scope.id = wizard.name + '-' + $scope.name;
        $scope.$scope = $scope.$$nextSibling;

        $scope.allow = $attrs.allow === undefined || $scope.$parent.$eval($attrs.allow);
        $scope.complete = $attrs.complete && $scope.$parent.$eval($attrs.complete);
        var enabled = $attrs.enabled === undefined || $scope.$parent.$eval($attrs.enabled);

        if (enabled)
          wizard.addStep($scope);<commit_msg>Transcluded scopes changed to children<commit_after>'use strict';

app.directive('wizardStep', [
  'pageService', function (page) {
    return {
      restrict: 'E',
      templateUrl: 'site/wizardStep.html',
      require: '^wizard',
      scope: {},
      transclude: true,
      link: function ($scope, $element, $attrs, wizard) {
        $scope.page = page;
        $scope.name = $attrs.name;
        $scope.id = wizard.name + '-' + $scope.name;
        $scope.$scope = $scope.$$childHead;

        $scope.allow = $attrs.allow === undefined || $scope.$parent.$eval($attrs.allow);
        $scope.complete = $attrs.complete && $scope.$parent.$eval($attrs.complete);
        var enabled = $attrs.enabled === undefined || $scope.$parent.$eval($attrs.enabled);

        if (enabled)
          wizard.addStep($scope);
{'fraction_non_alphanumeric': 0.17797137523335407, 'fraction_numerical': 0.0, 'mean_word_length': 2.765807962529274, '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': '4527109', 'n_tokens_mistral': 492, 'n_tokens_neox': 484, 'n_words': 95}