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

Not able to access $rootScope in TemplateUrl #151

Open agam16 opened 8 years ago

agam16 commented 8 years ago

Hello, I need to show the header above the breadcrumb & i am setting the header in controller in $rootScope variable But i am not able to access any rootscope variable in template file. What may be the issue?

gleandroj commented 7 years ago

Hi @agam16 ,

I found a way to do this...

Works for me access like:

{{ $root.data }}

Do this in Template File and its works very well!

atefBB commented 6 years ago

@gleandroj Thanks. Work fine !