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.
我正在使用使用嵌套资源的美味派。这意味着当我调用我的照片资源时,响应就是这样
{ name: "photo name", description: "some description", tags: [ "/api/v1/tags/1/", "/api/v1/tags/2/" ]
在 angularjs 中处理这个问题的最佳方法是什么?目前,我在显示数据时对每个返回的嵌套资源进行 $http 调用。有什么方法可以使用 ng-resource 自动对嵌套资源进行 api 调用?
我的代码有
<input class="menu_button" type="submit" value="Log in"> <a href="register.php" class="menu_button">Register</a>
a h