Hi Kiran I agree that same controller can be shared across different views. But to distribute a complex logic across several JavaScript files, I want those JS files as well to use same Scope/controller.
Thanks On Fri, May 1, 2015 at 9:49 AM, Kiran A <[email protected]> wrote: > > > Hi varun, > > > you can share the same controller for different views > > > > > > > On Wednesday, April 29, 2015 at 9:13:15 PM UTC+5:30, Varun Tyagi wrote: >> >> >> Hi >> >> I have a scenario where I have different views and I want them to have >> their respective JS files but all sharing the same controller. Is it >> possible in angular? >> >> Any help is appreciated. >> >> Thanks >> Varun Tyagi >> > -- > 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/sWNLvDVhD7E/unsubscribe. > To unsubscribe from this group and all its topics, 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. > -- 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.
