I suppose you want to get the customers name and not the name from
business, right?
To get it, you can write it in your HTML like this
<div data-ng-repeat="review in data.reviews">{{review.customer_name}}
{{review.customer_last_name}}</div>
For more, please check this link: http://plnkr.co/edit/PMf3EL?p=preview
On Friday, July 1, 2016 at 6:11:04 PM UTC+5:30, Priya Mohan wrote:
>
> Hi - How can I parse and render only customername and lastname in browser.
>
> .y api.json
> {"business_info":{"business_name":"James ","business_address":"509
> Way<br>Seattle, Washington 98010","business_phone":"(206)
> 682-3458","total_rating":{"total_avg_rating":"4.28","total_no_of_reviews":190},"external_url":"https:\/\/
> reviewourbusiness.net
> \/review-my-business\/external\/id\/NDk4NDQ1NTI=\/enc\/1","external_page_url":"http:\/\/
> localreviewdirectory.com
> \/cosmetic-dentists\/wa\/seattle\/james-bob-dental"},"reviews":
> [{"customer_name":"Lance","date_of_submission":"2015-11-18
> 18:13:22","customer_last_name":"","description":"good
> job","rating":"4","review_from":"0","review_url":"1569","review_id":"855429","customer_url":"http:\/\/
> localreviewdirectory.com
> \/cosmetic-dentists\/wa\/seattle\/james-bob-dental\/rid\/NjUyOTc4ODA5Mg==","review_source":"molomedia"},
> {"customer_name":"Matt","date_of_submission":"2015-11-18
> 18:12:41","customer_last_name":"","description":"Big white
> smiles","rating":"4","review_from":"0","review_url":"1569","review_id":"855411","customer_url":"http:\/\/
> localreviewdirectory.com
> \/cosmetic-dentists\/wa\/seattle\/james-bob-dental\/rid\/NjUyOTY1MTQ5MA==","review_source":"molomedia"}]}
>
> please help to get me started.
>
--
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.