Yes, these are exactly the type of questions I have. The first app I have created is admittedly a little complicated as it's a google maps based application but I am having trouble understanding when to use multiple controllers, why I would separate code into multiple controllers, how those controllers communicate with each other, deciding on whether to place code in directives or controllers, again communicating between the two, interacting with REST api and all the above etc. etc.
It would be great to see a moderately complex application in motion and learn why things are where they are. On Wednesday, 31 December 2014 11:44:03 UTC, Cornelius Kölbel wrote: > > This is a very good question! > > I started with the book "AngularJS Pro" which also has a good example in > it. But it is a very simple example where the app only has one controller. > And many conceptual questions arising from a bigger "real world app" are > not handled. > > At the moment I am writing a app in angularJS (management web UI for > http://privacyidea.org, a two factor authentication system) and I am > wondering many things as far as concepts are concerned. > I am using REST and JWT for authentication. How should I add those to my > REST calls. I suppose I should either created services or resources to > encapsulate the REST calls. > > I am realizing there are information I need throughout the app. > How should I stack/inherit the controllers. Or should I rather use > app-wide services instead of putting functionality into the controller. > > I hope I will be able to release the first version in about two weeks. > I will publish a link with the (probably inline) explanations/docs. > > Kind regards > Cornelius > > > > Am 31.12.2014 um 12:16 schrieb Timmy O'Mahony: > > Are there any good fully working open-source applications written in > Angular that can be used as a good learning resource. While I am > understanding most of the specifics of Angular I am having trouble bringing > all the concepts together when creating a fully working application > -- > 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] <javascript:>. > To post to this group, send email to [email protected] <javascript:> > . > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > > > -- > Cornelius Kö[email protected] <javascript:> > +49 151 2960 1417 > > NetKnights GmbHhttp://www.netknights.it > Landgraf-Karl-Str. 19, 34131 Kassel, Germany > Tel: +49 561 3166797, Fax: +49 561 3166798 > > Amtsgericht Kassel, HRB 16405 > Geschäftsführer: Cornelius Kölbel > > -- 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.
