F
F
frontender2016-01-22 10:24:55
Angular
frontender, 2016-01-22 10:24:55

What to read on the project structure on angularjs?

Hey!
There is a small problem: I made one test project on angularjs. Before that, I never touched it, but I worked with backbone, marionette.
I read the tutorial on metanit.com, some documentation, well, I did it. I was told that I did not use angular to its full potential and there are questions about the project structure (what exactly is wrong - they did not specify).
Can you tell me what's wrong: https://github.com/panay/searchStackOverflow ?
And what to read in order to properly organize the code in angular and generally use it competently?
UPD:
I read the guides, redid the project. Not quite yet, but I'm getting there.
Website on heroku
Source code on github
Useful links I dug up along the way:
1) The main styleguide that was advised
2) Understanding service types
3) Directives

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
TekVanDo, 2016-01-22
@frontender

You can read it here
From what I saw briefly:
- Directives were not used (components since version 1.5)
- Controller as syntax was not used
- It is better to use ui-router instead of a regular router
- It is customary to transfer Ajax manipulations to services
- Well, little things (getting data is better do at the routing stage)

A
alexxandr, 2016-01-22
@alexxandr

remove js

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question