Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在HandlebarsJS中,您可以使用“with”块将范围更改为当前范围的子属性。我怎样才能在AngularJS中做到这一点?
{ title: "My first post!", author: { firstName: "Charles", lastName: "Jolley" } }
做就是了
<span>{{author.firstname}} {{author.lastName}}</span>
AngularJS 不在乎你的数据嵌套了多少。