<commit_before>'use strict';

angular.module('core').controller('HomeController', ['$scope', '$q', 'Authentication', 'Goods',
  function ($scope, $q, Authentication, Goods) {
    // This provides Authentication context.
    $scope.authentication = Authentication;

    var goods = Goods.query();

    $q.all([goods.$promise])
      .then(function () {
        $scope.tabs = [
          {
            icon: 'apple',
            title: 'Товары',
            state: 'goods.list',
            actionTitle: 'Добавить товар',
            actionState: 'goods.create',
            actionIcon: 'plus',
            count: goods.length,
          }
        ];
      });
  }
]);<commit_msg>Updated dash<commit_after>'use strict';

angular.module('core').controller('HomeController', ['$scope', '$q', 'Authentication', 'Goods',
  function ($scope, $q, Authentication, Goods) {
    // This provides Authentication context.
    $scope.authentication = Authentication;

    var goods = Goods.query();

    $q.all([goods.$promise])
      .then(function () {
        $scope.tabs = [
          {
            icon: 'shopping-cart',
            title: 'Новые заказы',
            state: 'orders.list',
            actionTitle: 'Добавить заказ',
            actionState: 'orders.create',
            actionIcon: 'plus',
            count: 5,
          },
          {
            icon: 'apple',
            title: 'Товары',
            state: 'goods.list',
            actionTitle: 'Добавить товар',
            actionState: 'goods.create',
            actionIcon: 'plus',
            count: goods.length,
          },
        ];
      });
  }
]);
{'fraction_non_alphanumeric': 0.15332512315270935, 'fraction_numerical': 0.0006157635467980296, 'mean_word_length': 1.8558875219683655, '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': '4624327', 'n_tokens_mistral': 478, 'n_tokens_neox': 474, 'n_words': 95}