excellent, I fix, was grateful. regards
2014-11-17 15:11 GMT-03:00 Vivek Anand <[email protected]>:
> Filter, which you tried to build will not serve the purpose.
>
>
> In this case, your filter must return a boolean, which will select the record
> in ng-repeat to be displayed.
>
>
> Solution to your problem can be addressed in the following way:
>
>
> 1. Create a variable dt in $scope within controller as:
>
> $scope.dt = $filter('date')(new Date(), 'yyyy-MM-dd');
>
>
> 2. Change the HTML fragment as:
>
> <div ng-repeat="i in data | *filter: {FechaActividad: dt}*">
>
> <span>{{i.Estado}}</span><br/>
> <span>{{i.FechaActividad}}</span><br/>
> <span>{{i.NombreActividad}}</span><br/>
> <hr/>
> </div>
>
>
> Hope this resolves the problem.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/qj6PdqnmsWQ/unsubscribe.
> To unsubscribe from this group and all its topics, 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.
>
--
<http://dev.tuchillan.cl/wp-content/uploads/sites/2/2014/03/logoAzul.png>
[image: Logo]
Luis Ruiz F.
*Administración - Web Master*
*81801756* · [email protected]
Tu Chillan
[image: facebook] <http://facebook.com/newmesis> [image: twitter]
<http://twitter.com/newmesiss> [image: Google+]
<http://plus.google.com/u/0/+LuisRuizFigueroa/>
--
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.