-
Notifications
You must be signed in to change notification settings - Fork 279
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
bo bindings do not work inside a bo-if #25
Comments
I'll fix it asap, right now I'm quite busy but this will be my next task. Anyway it's much better to avoid bindonce and ng-repeat on the same element in order to create only one bindonce controller instead of multiple controllers, for instance your script should be: <div bindonce="items">
<span ng-repeat="item in items">
<span bo-if="true">
<span bo-text="item">this should be replaced</span>
</span><br>
</span>
</div> |
Ok thanks. Just so you know, the README says to put them on the same element:
|
you are right, the problem is that since the first revision things are changed, with some of the new added attributes (like bo-if) creating one controller per item rather that one controller per repeater can drastically change the result. The readme must be update, I'll make some changes and some clarification when I'll fix this issue. |
👍 |
bo-* directives don't seem to be evaluated when they are inside a bo-if.
http://plnkr.co/edit/bBYB49wfuaBkJs9JfDa9?p=preview
Unless I'm doing something wrong
The text was updated successfully, but these errors were encountered: