Confusing... Both are right. I made a directive called "waiting". The directive _hides_ the element it is attached to when a routeSwitch occurs. So it's _not_ changing the textvalue of that attached element. I am only able to use thi sadirective like this: <div ng-bind="waiting"></div> That is not indeed not as an attribute, as Mark says. Sorry for the confusion. Calling it as an attribute would look like this: <div waiting></div> Calling it as an element would look like this: <waiting></waiting> Only the first option, via ng-bind works for me. With the other 2 options the div with the text is never hidden. I made a application using Yeoman, during setup I selected to use Twitter Bootstrap.. I suspect all these extra dependencies mess stuff up..
-- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
