Thank you for your reply Sander Elias.

To be honest, I have not fully understand you answer, because I have not 
manage to make your example work. It's supposed to do the same thing as 
angular.toJson, or be able to use it also on key, value? If it's not to 
much to ask could you provide an example to my plunker?

Other questions? A ton of them :)) ...

like for example, how to do the two way binding with ng-model, and 
filtering the results, but this when the search field it's outside of the 
ng-repeat, and maybe outside of the controller.


Thank you for the reply!



On Saturday, November 22, 2014 8:27:10 AM UTC, Sander Elias wrote:
>
> Hi Leonard,
>
> Nice solution! Good use of angular. 
>
> Object.keys(obj).filter(function (e) { return e.substr(0,1)!=='$';}); 
> will do the trick you need!
>
> This will filter out all the internals from angular. You might want to 
> make that an single binding.
> If you don’t your notSorted function will get called every digest cycle.
> You can do this like this: data-ng-repeat="key in ::notSorted(tabitem[0])"
>
> Do you have any questions left? 
>
> 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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to