wyntau / angular-require Goto Github PK
View Code? Open in Web Editor NEWuse require in angular.js painless
use require in angular.js painless
你把你的例子完整的例出来,大家直接下载 你的就好。免得东奔西找。。。伟大的作者,你说是不?
我现在出现这个错误了
<script type="text/javascript" src="../static/plug/requirejs/require.js"></script> <script type="text/javascript" src="../static/plug/requirejs/css.js"></script> <script type="text/javascript" src="../static/plug/requirejs/css-build.js"></script> <script type="text/javascript" src="../static/plug/requirejs/angular-require.js"></script>.when('/book/mark/:id', {
controller:'bookMarkController',
templateUrl:'template/book/mark.html',
resolve:{
deps: $requireProvider.requireJS([
'template/book/mark',
'../static/plug/ztree_v3/jquery.ztree.core.min'
]),
css: $requireProvider.requireCSS([
'css!../static/plug/ztree_v3/zTreeStyle.css'
])
}
});
给一个require-css.js下载链接吧。。。
加载过后的页面再加载报错$digest already in progress
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.