zoukankan      html  css  js  c++  java
  • 【Angular 1.x 】目录结构

    思想

    1. MVC & MVVM
    2. AMD & CMD & CommomJS

    模块

    1. 表单校验与 ngMessages 模块
    2. ngCookie模块
    3. 动画与 ngAnimate模块

    服务

    1. $http
    2. $location
    3. $anchorScroll
    4. $filter
    5. $timeout & $interval
    6. routerProvider
    7. $q
    8. $provider
    9. $injector
    10. $resource (Promise)

    事件

    1. $emit & $bordcast
    2. $apply & $digest

    动画

    包括Web动画原理 / CSS3实现动画 / ngAnimate (同上:ngAnimate模块)

    操作Cookie

    包括 原生JS操作Cookie / AngularJS操作Cookie(同上:ngCookie模块)

    Promise

    AngularJS File Upload

    angular模块介绍:(v1.4.0)

    1. angular.js
      ng 核心
    2. angular-route.js
      ng 路由(参考地址)
    3. angular-animate.js
      ng 动画(参考地址)
    4. angular-cookies.js
      ng Cookie(参考地址)
    5. angular-sanitize.js
      ng 安全模块(应对XSS)
    6. angular-messages.js
      ng 表单验证(参考地址)
    7. angular-resource.js
      ng restful数据交互(然并卵,只是封装了一层$http,可以用来请求本地json文件)
    8. angular-mocks.js
      ng 单元测试工具类(参考地址)
    9. angular-loader.js
      ng http请求loading效果(参考地址)
    10. angular-scenario.js
      ng 单元测试用
    11. angular-touch.js
      ng gestoures(针对移动端,基于jQuery Mobile的touch事件。不过貌似不太好用)
    12. angular-aria.js
      ng 富互联网应用(Accessible Rich Internet Applications,貌似没啥用)
    13. angular-meesage-format.js
      ng 编译相关(谨慎使用,该文件只有当闭合编译器的高级选项标识时才会编译)
  • 相关阅读:
    插入排序(JS代码)
    选择排序(JS代码)
    快速排序(JS代码)
    冒泡排序(js代码)
    《CSS揭秘》--推荐指数⭐⭐⭐⭐⭐
    CSS中position的定位
    逆转录转座子初窥
    django开发傻瓜教程-1-安装和HelloWorld
    爬虫教程-1
    算法_NP_证明
  • 原文地址:https://www.cnblogs.com/shih/p/6826779.html
Copyright © 2011-2022 走看看