PageSourceSearch

https://dictionpolice.com/App/Scripts/ngBrowseComposersController.js

js dictionpolice.com collected 2026-10-10 01:52:16 UTC 1,537 bytes, 44 lines download raw bytes

1app.controller("ngBrowseComposersController", function ($scope, $http, $routeParams, LocalHandler, LoginService, $location, Page, $window) {
2    $window.scrollTo(0, 0);
3    $scope.loading = true;
4    Page.setTitle('Browse Composers');
5    Page.setKeywords('composers, browse, browse composers');
6    $scope.getAllComposers = function () {
7        $http({ method: "GET", url: "/api/ApiComposers" }).success(function (vm) {
8            $scope.composerListVM = vm;
9            $scope.loading = false;
10        })
11    }
12    $scope.getFlag = function (language) {
13        if (language == "English") {
14            return '../App/Images/USA-Flag-icon.png';
15        }
16        else if (language == "French") {
17            return '../App/Images/France-Flag-icon.png';
18        }
19        else if (language == "German") {
20            return '../App/Images/Germany-Flag-icon.png';
21        }
22    }
23    $scope.isDeveloper = function () {
24        return LocalHandler.isDeveloper();
25    }
26    $scope.isAdmin = function () {
27        return LocalHandler.isAdmin();
28    }
29    $scope.isUser = function () {
30        return LocalHandler.isUser();
31    }
32    $scope.isLoggedIn = function () {
33        return LocalHandler.isLoggedIn();
34    }
35    $scope.isSubscriber = function () {
36        return LocalHandler.isSubscriber();
37    }
38    $scope.IpLogin = function () {
39        return LocalHandler.isIpLogin();
40    }
41    LoginService.checkIpLogin();
42    $scope.getAllComposers();
43    Page.awaitLogin = function () { };
44});

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.