PageSourceSearch

https://pipelbiz.com/js/controller/InvestorCtrl.js?ver=1761830182

js pipelbiz.com collected 2026-09-26 11:49:42 UTC 1,017 bytes, 43 lines download raw bytes

1pipelbizControllers.controller("InvestorCtrl", [
2  "$scope",
3  "$http",
4  "$stateParams",
5  function ($scope, $http, $stateParams) {
6    $scope.user = {
7      stateTin: [{}],
8      accounts: [{}],
9    };
10
11    $scope.addNew = function () {
12      this.user.stateTin.push({});
13    };
14
15    $scope.removeState = function (item) {
16      console.log("hey");
17      var index = $scope.user.stateTin.indexOf(item);
18      if (this.user.stateTin.length > 1) {
19        $scope.user.stateTin.splice(index, 1);
20      } else {
21        return;
22      }
23    };
24
25    $scope.addAccount = function () {
26      this.user.accounts.push({});
27    };
28
29    $scope.remove = function (item) {
30      var index = $scope.user.accounts.indexOf(item);
31      if (this.user.accounts.length > 1) {
32        $scope.user.accounts.splice(index, 1);
33      } else {
34        return;
35      }
36    };
37
38    $scope.submitForm = function () {
39      var doSubmitAjax = Promise.resolve(); // TBD - add form submission
40      doSubmitAjax.then((res) => {});
41    };
42  },
43]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.