SPRING-DATA-REST后端与前端AngularJS [英] SPRING-DATA-REST Backend with AngularJS frontend

查看:193
本文介绍了SPRING-DATA-REST后端与前端AngularJS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有消耗它与angularJS写弹簧数据后台休息的RESTful服务的前端应用示例。

Is there any frontend application sample that consumes RESTful services of Spring-data-rest backend which is written with angularJS.

推荐答案

我的preFER为angularjs REST API中的 RESTANGULAR 模块...

My prefer for rest api for angularjs is RESTANGULAR module...

在网站,你可以看到很多例子,他们如何处理与REST调用和真正好的文档和良好的社区,以及...

In the site you can see many examples that how they deal with Rest calls and really good documentation and good community as well...

在这个例子中,在春天的例子 SPRING.IO 他们使用$ HTTP,但我应该说,Restangular使用$ HTTP为好,所以基本上可以说Restangular扩展版本$ HTTP ...

In this example which is from spring example SPRING.IO they uses $http, but I should say that Restangular uses $http as well, so basically you can say that Restangular is extended version of $http...

和最后你可以看一下 $资源 ...

and for the last you can look for $resource...

我会更新我的答案。如果我会找到一些新的东西...

I will update my answer If I will find something new...

这篇关于SPRING-DATA-REST后端与前端AngularJS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆