surferbloggy 0 Newbie Poster

Hi i'm showing data from json with angularjs if i write this

<div class="boxhotel" >   
             <p>rateChange: {{roomz.RateInfo}}</p>
</div>

i retrieve this

         {"@rateChange": "false",
                    "@promo": "false",
                    "@priceBreakdown": "true",
                    "ChargeableRateInfo": {
                        "@total": "343.9",
                        "@surchargeTotal": "53.9",
                        "@nightlyRateTotal": "290.0",
                        "@maxNightlyRate": "145.0",
                        "@currencyCode": "USD",
                        "@commissionableUsdTotal": "290.0",
                        "@averageRate": "145.0",
                        "@averageBaseRate": "145.0",
                        "NightlyRatesPerRoom": {
                            "@size": "2",
                            "NightlyRate": [
                                {
                                    "@promo": "false",
                                    "@rate": "145.0",
                                    "@baseRate": "145.0"
                                },
                                {
                                    "@promo": "false",
                                    "@rate": "145.0",
                                    "@baseRate": "145.0"
                                }
                            ]
                        },
                        "Surcharges": {
                            "@size": "1",
                            "Surcharge": {
                                "@amount": "53.9",
                                "@type": "TaxAndServiceFee"
                            }
                        }
                    }
                }

how should i write to retrieve @rateChange or @total ?? thank you for your help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.