2012-12-20 39 views

回答

2
{ 
    title: "My first post!", 
    author: { 
    firstName: "Charles", 
    lastName: "Jolley" 
    } 
} 

只是做不關心有多少你的數據都是嵌套

<span>{{author.firstname}} 

{{author.lastName}}</span> 

AngularJS。

+0

謝謝,但我的目標是不需要深入到每個我想要觸摸的適當範圍。我特別想要改變範圍。我更新了這個問題來澄清這一點。 –

+0

那麼你需要寫一個'with'指令。 – mpm

相關問題