代码改变世界

AngularJs项目文件以及文件夹结构

2015-09-27 23:36 圣殿骑士 阅读(...) 评论(...) 编辑 收藏

app/
----- Libs/ // references for all libs
---------- angular.js
---------- angular-route.js
----- common/ // acts as reusable/shared components or partials of our site
---------- header/
--------------- headerController.js
--------------- header.html
---------- sidebar/
--------------- sidebarController.js
--------------- sidebar.html
---------- ngTablePager.html
----- components/ // each component is treated as a mini Angular app
---------- home/
--------------- homeIndexController.js
--------------- index.html
---------- policy/
--------------- policyEnquiryController.js
--------------- policyEnquiry.html
----- directives/ // All directives
---------- optionsClass.js
---------- stringToNumber.js
----- filters/ // All filters
---------- CountryDesStatus.js
---------- MaritalDesStatus.js
----- services/ // All services
---------- PolicyFactory.js
---------- MemberFactory.js
----- references.js
----- config.js
----- controllers.js
----- directives.js
----- filters.js
----- services.js
----- app.js