1angular.module('mean.system') 2 .factory('Global', [function() { 3 var _this = this; 4 _this._data = { 5 user: window.user, 6 isLoggedIn: !! window.user 7 }; 8 9 return _this._data; 10 }]) 11 .factory('AvatarService', ['$http', '$q', function($http, $q) { 12 return { 13 getAvatars: function() { 14 return $q.all([ 15 $http.get('/avatars') 16 ]) 17 .then(function(results) { 18 return results[0].data; 19 }); 20 } 21 }; 22 }]);
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.