PageSourceSearch

https://www.ybm.org.il/js/Controllers/contactusController.js?v=2.5

js ybm.org.il collected 2026-10-02 03:19:20 UTC 958 bytes, 38 lines download raw bytes

1'use strict';
2
3
4(function (angular) {
5    var app = angular.module('ybmApp');
6    app.controller('contactusCtrl', ContactusCtrl);
7
8    function ContactusCtrl($location, $scope, $rootScope, proxy, $timeout, $sce) {
9        this.rootScope = $rootScope;
10        this.location = $location;
11        this._proxy = proxy;
12        this.$sce = $sce;
13        var self = this;
14        this.scope = $scope;
15        this.scope.ic.header = '';
16        
17
18
19        var p = this._proxy.getContactUsPurposes();
20        p.then(function (data) {
21            self.purposes = data;
22        });
23
24    };
25
26    ContactusCtrl.prototype.submitContactUs = function() {
27        var self = this;
28        var p = this._proxy.insertContactUs(this.contact);
29        p.then(function (data) {
30            alert('פנייתך התקבלה , תודה שפנית אלינו');
31            self.location.path('/');
32        });
33
34        
35    };
36
37
38})(angular);

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.