It doesn't work because you missed comma(,) after ['main'] in require
method :).
<script>
require(['main'] function(){
require(['main'], function(){
require(['test1']);
})
</script>
On Wednesday, November 5, 2014 10:44:26 PM UTC+5:30, Bhavin Patel wrote:
>
> Hi,
>
> I was trying to imply requireJS functionality on Plunker, but it wont
> work, can anyone please help.
> Refer to link below:
>
> http://plnkr.co/edit/OQbK33Ugby2glUKm6KAw?p=preview
>
> Thank You,
> Bhavin
>
--
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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.