CARVIEW |
Select Language
HTTP/2 301
location: https://raw.githubusercontent.com/zappan/angular-speakingurl/master/src/angular-speakingurl.js
accept-ranges: bytes
age: 0
date: Sat, 19 Jul 2025 09:45:10 GMT
via: 1.1 varnish
x-served-by: cache-bom4736-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1752918310.546741,VS0,VE957
vary: Accept-Encoding
x-fastly-request-id: 64b538474c35b822ab78f87f91afd9039d7f9772
content-length: 0
HTTP/2 200
cache-control: max-age=300
content-security-policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
content-type: text/plain; charset=utf-8
etag: W/"5cd403a70c0ce4691b09385f361fd7a227e8e78bb17e1400c31436ec173ba19c"
strict-transport-security: max-age=31536000
x-content-type-options: nosniff
x-frame-options: deny
x-xss-protection: 1; mode=block
x-github-request-id: 227A:115E92:96C04:1FBC72:687B6926
content-encoding: gzip
accept-ranges: bytes
date: Sat, 19 Jul 2025 09:45:10 GMT
via: 1.1 varnish
x-served-by: cache-bom4729-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1752918311.556851,VS0,VE242
vary: Authorization,Accept-Encoding
access-control-allow-origin: *
cross-origin-resource-policy: cross-origin
x-fastly-request-id: 2724c9193a0dabcfae9c24e794d9c6cd47a76fa5
expires: Sat, 19 Jul 2025 09:50:10 GMT
source-age: 0
content-length: 268
(function (window, angular, undefined) {
var module = angular.module('angular-speakingurl', []);
module.filter('getSlug', function ($speakingurl) {
return function (value, format) {
return (typeof value === 'undefined' || null === value) ? '' : $speakingurl.getSlug(String(value));
};
});
module.provider('$speakingurl', function () {
this.$get = ['$window', function ($window) {
return {
getSlug: $window.getSlug
};
}];
});
})(this, this.angular, void 0);