PageSourceSearch

https://www.carlstadtnj.us/_Assets/js/angular/app/components/faq/faq.controller.js

js carlstadtnj.us collected 2026-10-02 19:16:03 UTC 895 bytes, 21 lines download raw bytes

1app.directive('createFaq', function () {
2    return {
3        restrict: 'E',
4        templateUrl: '/_Assets/js/angular/app/components/faq/faq.widget.tpl.html',
5        scope: {
6            id: '@',
7            click: '&'
8        }, controller: function ($scope, $http) {
9            $http.get('/api/data/GetFAQ', { params: { id: $scope.id } }).then(function (response) {
10                $scope.items = response.data;
11            });
12        },
13        link: function ($scope) {
14            $('.collapse').on('shown.bs.collapse', function () {
15                $(this).parent().find(".fa-chevron-right").removeClass("fa-chevron-right").addClass("fa-chevron-down");
16            }).on('hidden.bs.collapse', function () {
17                $(this).parent().find(".fa-chevron-down").removeClass("fa-chevron-down").addClass("fa-chevron-right");
18            });
19        }
20    };
21});

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.