Both of these http://plnkr.co/edit/VnFmKqnFh0vOFARvIgVB?p=preview & http://plnkr.co/edit/5GjPGQJHACCBTsIVbAWw?p=preview have maincontroller defined. For first one its defined in a separate file but for second in script.js @ line 585 As both of them are wrapped inside a javascript function so way of defining them i.e. in same file or seperate file shuldn't be a problem... but still for first it says Error: [ng:areq] Argument 'MainController' is not a function, got undefined... I can't understand why..
-- 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.
