My bad.  I was using an Angular 1 syntax.

This appears to work:

<td><span [hidden]="pipeline.version == 0">{{ pipeline.version }}
</span></td>






On Friday, June 2, 2017 at 1:07:40 PM UTC-7, rob...@leapyear.io wrote:
>
> Here's some code that properly displays a version number:
>
> td>{{ pipeline.version }}</td>
>
> What I want to do is have nothing display if the value = 0.
>
> So I tried this:
>
> <td><span ng-hide="pipeline.version == 0">{{ pipeline.version }}
> </span></td>
>
>
> But it doesn't work.
>
> What am I doing wrong?
>
> Robert
>
> P.S. *pipeline.version* is definitely a number.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to