1//(function () { 2var app = angular.module('netivotApp', ['ngRoute', 'ngSanitize', 'ngMaterial', 'angularTreeview', 'angucomplete-alt']); 3app.run(['$rootScope', '$route', '$location', 'CategoriesAndChapters', 4 function ($rootScope, $route, $location, CategoriesAndChapters) { 5 $rootScope.viewCommentsSelected = []; 6 $rootScope.resultCount = '× ×ª×××ת ×ש"ס - × ×ש××× ×××§××××ת ×ת×××× ×××××'; 7 CategoriesAndChapters.initialData().then(function (values) { 8 $rootScope.chapters = values.chapters; 9 $rootScope.categories = values.categories; 10 $rootScope.categoriesTree = values.categoriesTree; 11 }); 12 13 $rootScope.$on('$routeChangeSuccess', function () { 14 $rootScope.landingPage = ($location.path() == '/'); 15 $rootScope.hideViewOptions = (!$route.current.loadedTemplateUrl || !$route.current.loadedTemplateUrl.includes('Subjects')); 16 document.title = '× ×ª×××ת ×ש"ס' + ($route.current.title ? ' - ' + $route.current.title : ''); 17 }); 18 19 //if ($location.path() === '' && $location.$$absUrl.indexOf('/Subjects') > -1) { 20 // $location.path('/Subjects') 21 //}; 22 //$rootScope.$on('$routeChangeSuccess', function (e, current, pre) { 23 // console.log(current.originalPath); // Do not use $$route here it is private 24 //}); 25 26 }]); 27//})();
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.