Hi Sander Elias Thanks for your attention and guidance but I don't understand structure of your code , I should using angular , I don't have any way . Can you explain me in other way ? How I can explain more for you ?
On Wednesday, January 4, 2017 at 11:39:23 AM UTC+3:30, Sander Elias wrote: > > Hi Mahtab... > > Do yourself a favor and drop jQuery, (at least for a while). Try to prefer > native JS over any framework/library. Will make your life a lot easier. > > if (resp.some(function(e) { > return $scope.articles.some( func(art) { > return art.Title === e.Title; > }) > }) > ) { > //there is a match > } else { > // there is no match > } > > I'm not sure what you are up to with this code, so this is only a partial > solution. > Hope it helps you a bit, > Regards > Sander > -- You received this message because you are subscribed to the Google Groups "Angular" 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.