Well, if you see the right next answer in the chat you'll see why the 
variations didn't work. We were passing a string when ng-style expects an 
object, so if you change your code to this

<table width="350" class="ReportTable" [ng-style]="styleTest">
//...
this.styleTest = {'width': '50%'};

That should do the trick!

-- 
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/d/optout.

Reply via email to