MCPcopy Create free account
hub / github.com/angular-app/angular-app / breadcrumbPath

Function breadcrumbPath

client/src/common/services/breadcrumbs.js:12–14  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

10
11 var pathElements = $location.path().split('/'), result = [], i;
12 var breadcrumbPath = function (index) {
13 return '/' + (pathElements.slice(0, index + 1)).join('/');
14 };
15
16 pathElements.shift();
17 for (i=0; i<pathElements.length; i++) {

Callers 1

breadcrumbs.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected