ncuillery / angular-breadcrumb

Generate a breadcrumb from ui-router's states
http://ncuillery.github.io/angular-breadcrumb/
MIT License
785 stars 183 forks source link

Update templates #142

Open ncuillery opened 8 years ago

ncuillery commented 8 years ago

Since I dropped support for Angular 1.0.8 (see https://github.com/ncuillery/angular-breadcrumb/commit/b023c4fcf3f2e830b4afec68d66af67ddd313b28), the build-in templates can now use ngIf instead of the ugly ngSwitch.

Moreover, as @psi-4ward suggested (#54), templates can use the uiSref directive. All tests pass if I do that. But I'm curious to analyse performance implications, I'll to run a JSperf.