if this is true that's a very bad news. Some of use rely on other AMD systems or none. I hope that is not made mandatory, because people dont want to mess with 2 AMD systems in an app.
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.
I was watching the meetup video on Angular 1.2 and beyond, and at around 55:00, the question is asked about angularjs and requirejs. Misko and Brad drop a bomb that RequireJS is going to replace angular.module, are there any more details about how this integration will work?
--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/4-otp3gTz5s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
Like most everyone in this group (it seems) we have been trying to use require.js for lazy loading of components as the user navigates the app. Our biggest issue is that angular modules declare their dependencies up front in the requires part of the angular.module call. Unless I have missed specifying this dependency?
Is it possible to inject a module into another at a later time? If so, do you have any hints to where we could start investigating?
--
--
I find the benefits of having a dependency management system extend to testability because you can figure out which files need to be tested automatically and do on the fly unit tests of changed code as your work if you script it well. The only thing better than RequireJS that I've used in this regard is Closure Compiler, which gives you the ability to finely tune your dependency system to track changes and their impacts to other components and the tests that run against them.More work to get this running, but the payoff is worth it for me. So on the one hand it can be tricky to get RequireJS running with your tests, but if you're willing to invest in scripting, it can be more testable and give you more control than without it. You just have to ask yourself if you're willing to invest in your build scripts.PS. I use mocha for my testing. Never tried Jasmine on a Requirejs system but I found it too much trouble to get karma to play nicely with RequireJS.
Danny, if Karma is a must-have there might be reason for concern. Perhaps it was my ignorance or impatience but I never figured out how to make it work with requirejs. It was pretty straightforward in mocha after finding a sample project on github.
Hi Jonas,First off thank you for your detailed blog posts. Really nice :)I am using a similar setup to your project but with the latest versions of Angular, Require and Karma and I can not get Karma to use require correctly (not loading files correctly).Have you upgraded or seen any similar issues more recently?Thanks,Sarah
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.