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


    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

  • 相关阅读:
    sql统计
    如何让文本框内的提示信息在激活文本框时清空
    Button onclick事件
    CustomValidator 的应用
    DjangoORM数据库创建
    HDU3685 几何+重心+凸包+判定锐角三角形
    CF181c
    POJ2187 旋转卡壳+凸包
    HDU2907凸包+凹面
    HDU2108+几何+判断凸多边形
  • 原文地址:https://www.cnblogs.com/KnightsWarrior/p/AngularJsStructure.html
Copyright © 2020-2023  润新知