laurelnaiad / angular-couch-potato

Lazy-Load and Register Components in AngularJS Applications
Other
104 stars 19 forks source link

fix many times load moudle script programe , and change require to use $.ajax(jQuery) load js file #17

Closed einsitang closed 1 year ago

einsitang commented 9 years ago

change:

use jquery not require

and use async write the code .

bug: when a path is use load module , will load many times , If the lazy module use "register directive" make a directive,will output error , this change will cache the script , not execute again , and angular has module manager,do not use require,so I change to use jQuery lib, and write code with async.js

U build a great module make me thing work,thank you very much