Ok, you *can* do DOM manipulation in your controller. However this will not 
work when your code is executed outside of the browser. This is something 
that should be done with care.
You can put in a condition in your template that takes care of this, 
without the need to write a single line of JS code.

something like:

<xx *ibanCheck="some.variable"></xx>
 <i *ngIf="ibanCheckOk"class="icon-append fa fa-check"></i>

Regards
Sander

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to