It is possible to do that. You could take a look at this page to see how to use multiple pages (or view) with Angular JS: https://docs.angularjs.org/tutorial/step_07
Angular is based on dependency injection so you can basically "inject" any module you need to any controller/service of your app. It's different from inheritance though a it's more composition based. On Monday, July 27, 2015 at 9:47:40 AM UTC-7, Chuck James wrote: > > Hi, > > I am using the AngularJs from few months and it's cool and great. But I > guess there is only one thing which is not clear to me or not good about > AngularJs. > > So I have couple of sites and using AngularJs in there, every page have > it's own angularjs. > > While I like to architect it in a way that all my modules will extend a > baseApp, and baseController (from baseApp) will be available to all pages > using this module. So that I can write all common code, services in baseApp > and then other modules can be sub modules (like sub classes) to base > module. > > Let me know if it's possible? or if I am confusing.. :) > > Thanks, > Chuck. > > -- 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.
