ngSea
- 授权协议: GPL
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/ckken/ngSea
- 软件文档: https://github.com/ckken/ngSea
软件介绍
Angularjs 1.2.7 + Seajs 按需加载插件
angular 1.2.7 支持IE8+ 如需支持IE7 需要关闭 $sceProvider
angular.module('ie7support', []).config(function($sceProvider) {
$sceProvider.enabled(false);
});
然后注入 ie7support
DEMO http://wvovo.com/ngSea/index.1.2.7.html
Angularjs 1.0.8 + Seajs 按需加载插件
目前测试兼容IE6+
DEMO :http://wvovo.com/ngSea/#/
有任何问题请在这里留言:https://github.com/ckken/ngSea/issues/1
ngSea by KenZR email ckken@qq.com
Create time 2013/12/5
support in IE6 about with the Angular 1.0.8 (because the 1.2.3 not support in IE 7)
use it inject ngSea And in run use app = $ngSea(app); that's all
Contact us: QQ 117692258
SeaJs配置
seajs.use(['app'], function(app){
angular.bootstrap(document, ['app']);
});
加载插件后 注入ngSea
var app = angular.module('app', ['ngSea']);
路由配置方式
when('/t1', {
controller: 'testACtrl',
templateUrl: './app/mod/m1/t1.html',
'controllerUrl': 'm1/t1'
})
Run 期间引入$ngSea 赋值
app.run(["$rootScope", "$ngSea", function ($rootScope, $ngSea) {
app = $ngSea(app);
}]);
请保留app里面的 register变量 使用方式为
module.exports = function(app){
app.register.controller('testACtrl', ['$scope', '$routeParams', '$location', '$http',
function($scope, $routeParams, $location, $http){
$http.get('data/testA.json').success(function(res){
$scope.data=res;
})
}
]);
}
如果选择兼容requireJs 或者不考虑IE7一下的话
可以考虑天猪的版本 :https://github.com/ckken/angular-lazyload
我的版本只支持SEAjs
营销三大算法
刘学林、刘逸春、张新春、王颖、余彬晶、刘锦炽、董少灵、沈逸超、王锐睿、孙静若 / 上海交通大学出版社 / 2018-1-31 / 88.00元
未来的营销应该是数字化的,即数字营销。以数据为本,用演算做根,数字营销能够演算生活的方方面面。在数字营销领域,市场的整个投入、产出带来什么东西?企业一定要狠清楚地知道,这是做数字营销的本质。数字营销和企业做生意的本质是一样的,目的都是以投入换取产出。 本书由正和岛数字营销部落编写,基于大量企业的案例与数据,提出了营销三大核心算法与一套全局营销系统,帮助企业CEO与营销人员科学化建立全局营销系......一起来看看 《营销三大算法》 这本书的介绍吧!
HTML 压缩/解压工具
在线压缩/解压 HTML 代码
Base64 编码/解码
Base64 编码/解码
