Hi i far as i know the -start end -end directives should work on ng-hide in
fact in my case the -start element did hide but the -end element is not
anyone have a hint abount this
<tr ng-repeat-start="(ky, value) in item | groupBy: 'TipoMat1'"
ng-hide-start="get_sum('Venta', 'TipoMat1', ky, buscar.Vendedor) == 0 &&
get_sum('Presupuesto', 'TipoMat1', ky, buscar.Vendedor) == 0 && !
options.cat_zero">
<td><span class="fa
fa-minus-square-o"></span> <strong>{{ ky }}</strong></td>
<td width="100px" class="text-right">{{
get_sum('Presupuesto', 'TipoMat1', ky, buscar.Vendedor) | number }}</td>
<td width="100px" class="text-right">{{
get_sum('Venta', 'TipoMat1', ky, buscar.Vendedor) | number }}</td>
<td width="100px" class="text-right">{{
(((get_sum('Venta', 'TipoMat1', ky, buscar.Vendedor)/get_sum('Presupuesto',
'TipoMat1', ky, buscar.Vendedor)) * 100) || 0) | number | infinityFix }} %</td>
</tr>
<tr ng-repeat-end ng-hide-end>
<td colspan="4">
<table class="table table-responsive
table-condensed table-striped pull-right" style="width: 97%;">
<!--thead><tr><th>Etiqueta</th><th>Presupuesto</th><th>Venta</th><th>Alcance</th></tr></thead-->
<tbody>
<tr ng-repeat="(k, prod) in value |
groupBy: 'Descripcion'" ng-hide="get_sum('Presupuesto', 'Descripcion', k,
buscar.Vendedor) == 0 && get_sum('Venta', 'Descripcion', k, buscar.Vendedor) ==
0 && ! options.prod_zero">
<td>{{ k }}</td>
<td width="100px"
class="text-right">{{ get_sum('Presupuesto', 'Descripcion', k, buscar.Vendedor)
| number }}</td>
<td width="100px"
class="text-right">{{ get_sum('Venta', 'Descripcion', k, buscar.Vendedor) |
number }}</td>
<td width="100px"
class="text-right">{{( ((get_sum('Venta', 'Descripcion', k,
buscar.Vendedor)/get_sum('Presupuesto', 'Descripcion', k, buscar.Vendedor)) *
100) || 0) | number | infinityFix }} %</td>
</tr>
</tbody>
</table>
</td>
</tr>
--
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.