Skip to content
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

Not binding to flash.to("someId") #35

Open
lubosdz opened this issue Jun 18, 2014 · 1 comment
Open

Not binding to flash.to("someId") #35

lubosdz opened this issue Jun 18, 2014 · 1 comment

Comments

@lubosdz
Copy link

lubosdz commented Jun 18, 2014

Binding to element ID is not working.

<div flash-alert="info" id="flash1" class="alert">
      <span class="alert-message">{{flash.message}}</span>
</div>
flash.info = 'Some info for any element ...';
flash.to("flash1").info = 'This is info only for "flash1"';

would display "Some info for any element ...".

@StevenClontz
Copy link

I had a similar problem. For whatever reason,

<div flash-alert="info" id="flash1" class="alert">
      <span class="alert-message" ng-bind="flash.message"></span>
</div>

seemed to fix it.

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

2 participants