Answer the question
In order to leave comments, you need to log in
What practices to use in AngularJS?
Not so long ago, I started diving into Angular. In addition to the textbook itself, I read various sources. Naturally, I encountered the fact that people who write articles and introductory materials use different ways to organize the application. Somewhere they use constructions of successive calls to the application, somewhere they assign the application to a variable, and then they access it. Somewhere they work with controllers, as with named functions, and somewhere they define them... In some cases, they work with the "$scope" service, in others with the "this" definer. Sometimes the developed application is distributed in files by types (directives, controllers, services, etc.), and sometimes by entities (users, posts, comments, etc.). And much more. I'm confused...
Are there any de facto standards? Or perhaps something like a "best practice" guideline?
Thank you.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question