R
R
Roman Sokharev2014-08-06 07:21:49
JavaScript
Roman Sokharev, 2014-08-06 07:21:49

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

1 answer(s)
T
TekVanDo, 2014-08-06
@greabock

https://github.com/mgechev/angularjs-style-guide/b...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question