ng.cx.config:AngularJS 配置提供者和服务

时间:2021-06-17 22:05:26
【文件属性】:
文件名称:ng.cx.config:AngularJS 配置提供者和服务
文件大小:177KB
文件格式:ZIP
更新时间:2021-06-17 22:05:26
JavaScript ng.cx.config AngularJS 配置提供者和服务。 入门 将ng.cx.config添加到您的项目中。 通过凉亭: $ bower install --save ng.cx.config 在您的构建中包含以下 JS 文件: dist/ng.cx.config.js或dist/ng.cx.config.min.js 快速指南 在 cxConfigProvider 中存储配置 ng.cx.config模块提供了一个提供程序来存储您的应用程序范围的配置并在应用程序的配置阶段配置其他提供程序。 在应用程序实际运行之前,AngularJs 对异步不是很友好,所以如果你从 API 加载这个配置,你最好在实际引导应用程序然后将它存储在全局范围之前使用基本的 XHR 来做它(糟糕!) . clConfigProvider . merge ( window . config )
【文件预览】:
ng.cx.config-master
----.jshintrc(638B)
----.gitignore(205B)
----.jsbeautifyrc(523B)
----package.json(2KB)
----travis.sh(232B)
----src()
--------lib()
----grunt()
--------build.conf.js(10KB)
--------options()
--------config()
--------tasks()
----bin()
--------bootstrap.js(4KB)
--------validate-commit-msg.js(2KB)
--------systemcheck.sh(2KB)
----.bowerrc(57B)
----.travis.yml(58B)
----CONTRIBUTING.md(6KB)
----Gruntfile.js(2KB)
----dist()
--------ng.cx.config.min.js(1KB)
--------ng.cx.config.js(9KB)
----LICENSE(2KB)
----CHANGELOG.md(0B)
----README.md(5KB)
----.yo-rc.json(977B)
----bootstrap.sh(195B)
----TODO.md(7B)
----bower.json(733B)
----docs()
--------assets()
--------contents()
----.editorconfig(197B)

网友评论