• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ncuillery / angular-breadcrumb / 86
97%
master: 94%

Build:
Build:
LAST BUILD BRANCH: v0.5.0
DEFAULT BRANCH: master
Ran 12 Oct 2014 02:01PM UTC
Jobs 1
Files 1
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
86

push

travis-ci

ncuillery
feat($breadcrumb): add the customization of the parent state with a function

The `ncyBreadcrumb.parent` property can be a string containing a state name
of a function returning a state name :
```
$stateProvider.state('B', {
  url:'/b',
  ncyBreadcrumb: {
    label: 'State B',
    parent: 'B'
  }
})
```
or
```
$stateProvider.state('B', {
  url:'/b',
  ncyBreadcrumb: {
    label: 'State B',
    parent: function() {
      return 'B';
    }
  }
})
```

The function can have a $scope argument : it will be called with the same
scope used by interpolation in labels:
```
$stateProvider.state('B', {
  url:'/b',
  ncyBreadcrumb: {
    label: 'State B',
    parent: function($scope) {
      return $scope.parentStateName;
    }
  }
})
```

Closes #32

79 of 83 relevant lines covered (95.18%)

2439.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 86.1 12 Oct 2014 02:01PM UTC 0
95.18
Travis Job 86.1
Source Files on build 86
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #86
  • ada09015 on github
  • Prev Build on v0.3.x (#85)
  • Next Build on v0.3.x (#88)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc