1(function(angular) { 2 'use strict'; 3 4 angular 5 .module('bidtrack') 6 .factory('tripHistoryResource', [ 7 '$resource', 8 'appSettings', 9 'currentUserService', 10 function ($resource, appSettings, currentUserService) { 11 //return function () { 12 return $resource(appSettings.serverPath + '/api/tripHistory/:id', null, { 13 'getPagedResults': { 14 method: 'GET', 15 url: appSettings.serverPath + 'api/tripHistory/GetPagedResults', 16 headers: { 17 'Authorization': 'Bearer ' + currentUserService.getProfile().token 18 } 19 }, 20 21 'get': { 22 method: 'GET', 23 headers: { 24 'Authorization': 'Bearer ' + currentUserService.getProfile().token 25 } 26 } 27 }); 28 //}; 29 } 30 ]); 31 32})(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.