Link to home
Start Free TrialLog in
Avatar of mikha
mikhaFlag for United States of America

asked on

rest api with angularjs frontend

I have a thirdparty rest api and angular js frontend project that I inherited.

data is in json, and the code iterates over the collection and displays it.
as I don't have control over the api and what it returns , I want to hide certain items in the collections.

what are my options in angularjs?
Avatar of leakim971
leakim971
Flag of Guadeloupe image

code iterates over the collection and displays it

so during the iteration, filter what you don't want
could you show how you're calling the API and how you use the data in the html ?
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.