angular-基本环境搭建

获取angular文件

<script src="bower_components/angular/angular.js"></script>主文件

<script src="bower_components/angular-route/angular-route.js"></script>路由angularJS-route脚本文件,在页面中进行跳转和重新定向

<script src="bower_components/angular-resource/angular-resource.js"></script>资源定向文件,用于在项目中自定义服务

<script src="bower_components/angular-animate/angular-animate.js"></script>动画呈现效果

除主文件其它都可根据项目需要添加

如图

 

posted @ 2017-05-17 09:54  2人4人  阅读(94)  评论(0)    收藏  举报