nickperkinslondon / angular-bootstrap-nav-tree

An AngularJS directive that creates a Tree based on a Bootstrap "nav" list.
MIT License
681 stars 301 forks source link

New! tag for each branch #107

Open prksean opened 8 years ago

prksean commented 8 years ago

Hi,

I was wondering if there is a way to add a indicator to each branch depending on the flag value (T or F) without modifying the abn_tree_directive.js file. For example, let's say menus "Oranges" "Red Delicious" and "Fuji" has new messages inside them so I want to show icon "n" indicating that there is a new item inside the menu.

image

It doesn't have to be an icon, it can be just span with the letter "new!" and some different css like shown below.

image

Thanks in advance!