Skip to content

ui-view won't evaluate attribute expressions like class="{{foo}}" #662

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jingman opened this issue Dec 9, 2013 · 5 comments
Closed

ui-view won't evaluate attribute expressions like class="{{foo}}" #662

jingman opened this issue Dec 9, 2013 · 5 comments

Comments

@jingman
Copy link

jingman commented Dec 9, 2013

First, thank you for maintaining this incredible, necessary Angular module.

I'm using the patched version of 0.2.6 and Angular 1.2.4 in this simplified plunkr.

I had been classing my ui-view with the state name with just class="{{$state.current.name}}", but now it seems that attribute expressions in ui-view elements are not being evaluated/interpolated.

@nateabele
Copy link
Contributor

Is this the same as #514?

@nateabele
Copy link
Contributor

Btw, I just tagged that commit as 0.2.7. :-)

@jingman
Copy link
Author

jingman commented Dec 9, 2013

I'm not sure it's the same as #514 (since I'm not using ng-class, just good 'ol class), but perhaps it's related?

I get the same results when using the angular-1.2 branch (new Plunkr).

@dlukez
Copy link
Contributor

dlukez commented Dec 10, 2013

Yeah I believe they're related. I'm looking at this now and writing test cases

@timkindberg
Copy link
Contributor

Dupe of #866

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants