2012-12-20 40 views

回答

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

只是做不关心有多少你的数据都是嵌套

<span>{{author.firstname}} 

{{author.lastName}}</span> 

AngularJS。

+0

谢谢,但我的目标是不需要深入到每个我想要触摸的适当范围。我特别想要改变范围。我更新了这个问题来澄清这一点。 –

+0

那么你需要写一个'with'指令。 – mpm

相关问题