Re: [AngularJS] Re: minification of angularjs itself
I got the resource from bower, could that be the problem? 2014-10-06 5:26 GMT+01:00 Sander Elias sanderel...@gmail.com: Hi Johan, Concatenating the minified version should give you no problem. However, you should take care on the ordering of your resources. If you for example put angular-route before angular itself, you might get the error you are experiencing. the same issue goes on of you do the build and minify the libraries yourself. This is however not recommend, there are some issues that you should take in account if you want to minify angular yourself. Regards Sander Elias -- 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+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
Re: [AngularJS] Re: minification of angularjs itself
I thought that Jquery needed to come first so that angular avoid using its jqlite then angularjs then angular-route and so on. 2014-10-06 12:38 GMT+01:00 Sander Elias sanderel...@gmail.com: Hi Johan, No, that's not the problem. The problem is the order in wich you concatenate your files. AngularJS should go first. Regards Sander -- 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+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
[AngularJS] minification of angularjs itself
I am trying to minify my project in two files: . one minified files which contains all our dependencies, eg: angular.js, angular-route.js, angular-touch.js, underscore.js etc, . one minified file which represent my application, eg: userModule and business modules. I tried to achieve this in two ways: . by concatenating the minified version of the libraries that I need for my project and secondly, . by concatenating all the un-minified version of the same libraries and minifying it with uglifyjs. In either way the resulting files was throwing Unexpected token exceptions in the browser due to some syntactic issues in angular.js file. So I wonder how anyone can ever minify that file at all. Should I use another tool instead? -- 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+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
[AngularJS] MomentJs in protractor test
I'm trying to run an end-to-end test that is using momentJs for date manipulation. And I have added it as a dependency in my package.json file and installed it so it available. Then at the very top of my end-to-end test file I include it as a module with the require directive (require('moment')). But when I run this test I get an exception: ReferenceError: moment is not defined It should be loaded at that point, shouldn't it? -- 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+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.