<commit_before>angular.module('app.directives').directive('groupBankAccountForm', function () {
    return {
      restrict: 'E',
      scope: {
        cancel: '&',
        completed: '&',
        group: '='
      },
      templateUrl: 'templates/groups/manage-group/add-group-bank-account.html',
      controller: function ($scope, $rootScope, cards) {
        $scope.group = $scope.group || {}
        $scope.data = {stripe: {}, powerline: {}}

        $scope.data.stripe = {
          account_number: '000123456789',
          routing_number: '110000000',
          country: 'US',
          currency: 'USD',
          account_holder_name: '<NAME>',
          account_holder_type: 'company',
        }

        $scope.data.powerline = {
          first_name: 'John',
          last_name: 'Doe',
          ssn_last_4: '1234',
          address_line1: 'Street 1',
          address_line2: '',
          city: 'San Diego',
          state: 'CA',
          postal_code: '12345',
          country: 'US'
        }

        $scope.submit = function () {
          $rootScope.showSpinner();
          $scope.group.addBankAccount($scope.data)
            .then(function (response) {
              $scope.completed(response);
            })
            .catch(function (error) {
              $rootScope.alert(JSON.stringify(error));
            })<commit_msg>#373: remove dummy prefilled values<commit_after>angular.module('app.directives').directive('groupBankAccountForm', function () {
    return {
      restrict: 'E',
      scope: {
        cancel: '&',
        completed: '&',
        group: '='
      },
      templateUrl: 'templates/groups/manage-group/add-group-bank-account.html',
      controller: function ($scope, $rootScope, cards) {
        $scope.group = $scope.group || {}
        $scope.data = {stripe: {}, powerline: {}}

        $scope.data.stripe = {
          account_number: '',
          routing_number: '',
          country: 'US',
          currency: 'USD',
          account_holder_name: '',
          account_holder_type: 'company',
        }

        $scope.data.powerline = {
          first_name: '',
          last_name: '',
          ssn_last_4: '',
          address_line1: '',
          address_line2: '',
          city: '',
          state: '',
          postal_code: '',
          country: 'US'
        }

        $scope.submit = function () {
          $rootScope.showSpinner();
          $scope.group.addBankAccount($scope.data)
            .then(function (response) {
              $scope.completed(response);
            })
            .catch(function (error) {
              $rootScope.alert(JSON.stringify(error));
            })
{'fraction_non_alphanumeric': 0.14917541229385306, 'fraction_numerical': 0.014992503748125937, 'mean_word_length': 1.7543859649122806, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, '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': '4143450', 'n_tokens_mistral': 798, 'n_tokens_neox': 761, 'n_words': 120}