(index)
| 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++) { |