AngularJS BreadCrumb implementation

1,817 views
Skip to first unread message

Vizay Soni

unread,
Mar 4, 2014, 2:38:18 AM3/4/14
to ang...@googlegroups.com
Hi,

I want to use breadcrumb in one of our application, most of the breadcrumbs libs I found on internet show only Labal of breadcrumb(e.g. ngBreadcrumb, breadcrumb in angular-app project). But I want to show Values instead of values. How can I achieve this? Is there any library available for this.

Currently I am getting:

Home > Parent > Student

I want like this:

Home > Sam > John


Mauro Servienti

unread,
Mar 4, 2014, 3:38:20 AM3/4/14
to ang...@googlegroups.com
we built that by ourselves on top of the UI-Router that having a builtin logic to track the current state can be easily used to develop a breadcrumb. We then exposed from the directive the ability for te current view controller to inject its own logic to resolve the route display name.

.m
--
(no keyboard keys have been killed due to the really annoying OSX spell checker)

--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Vizay Soni

unread,
Mar 4, 2014, 4:01:49 AM3/4/14
to ang...@googlegroups.com
Could you share the code or just point me to direction so I can implement

Mauro Servienti

unread,
Mar 4, 2014, 4:12:06 AM3/4/14
to ang...@googlegroups.com
Oooops, here you are.
directives.zip
ATT00001.htm

Vizay Soni

unread,
Mar 5, 2014, 8:32:56 AM3/5/14
to ang...@googlegroups.com
Okay Thanx Mauro.

On Tuesday, March 4, 2014 2:42:06 PM UTC+5:30, Mauro Servienti wrote:
Oooops, here you are.

Mauro Servienti

unread,
Mar 5, 2014, 8:39:10 AM3/5/14
to ang...@googlegroups.com
I’ve also written a blog post, it goes live in a couple of days. I’ll post here when its up.

.m

Mauro Servienti

unread,
Mar 7, 2014, 1:13:17 AM3/7/14
to ang...@googlegroups.com

.m
--
(no keyboard keys have been killed due to the really annoying OSX spell checker)

Reply all
Reply to author
Forward
0 new messages