Hi, I am having issues adding angular and require.js. I have one application where I have require.js. Adding a control which uses angular. Instead of appliying angular in whole application, i want to use in that piece only. But require.js conflicts with the module. Any suggestions?
On Wednesday, November 14, 2012 at 9:48:42 AM UTC-5, Pete Bacon Darwin wrote: > > If you load jQuery after AngularJS, AngularJS attaches itself to jqLite > but you can still access jQuery through $. This is not a good situation to > be in. If you are going to use jQuery then you should always load it > before AngularJS. > > On 14 November 2012 14:17, <[email protected] <javascript:>> wrote: > >> angular.js will use jQuery if it's include first. Otherwise it will use >> it's own jqLite. >> I'm not sure what will happen if you include jQuery after angular.js. >> >> >> On Wednesday, 14 November 2012 04:58:45 UTC-5, Marcin Cetnarski wrote: >>> >>> Hi, >>> >>> I found weird behavior for form validation when ng-switch and ng-repeat >>> is used. Here is link for example http://plnkr.co/2LRqYQ >>> When jQuery is loaded before Angular, *FormController.$removeControl* >>> function is not called on switch but when you change the order of >>> scripts inclusion then it's called properly. >>> I know there are similar issues reported like https://groups.google. >>> com/forum/?fromgroups=#!topic/angular/Hao7k4xxhIU - Peter's patch also >>> deals with improper $removeControl call. >>> >>> I didn't find any instructions in angular docs about correct scripts >>> include order (first angular then jquery) but I found this hint >>> http://stackoverflow.com/questions/12822862/getting-angular-ui-to-work >>> which stays against my findings. >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "AngularJS" group. >> To post to this group, send email to [email protected] >> <javascript:>. >> To unsubscribe from this group, send email to >> [email protected] <javascript:>. >> Visit this group at http://groups.google.com/group/angular?hl=en. >> >> >> > > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
