O
O
okuznetsov12017-03-31 07:56:17
Angular
okuznetsov1, 2017-03-31 07:56:17

How to break the code into modules?

Code on github .
Demo here
I tried to figure it out on my own, but there were difficulties (probably there is no such experience yet, it's hard to figure out what to endure). Help Wanted.
There are 4 files in the project (app.js, controllers.main.js and 2 services), respectively, you need to take them out of the controller in the module.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
ozknemoy, 2017-04-01
@ozknemoy

I only use one module. no nonsense like one module - one page and the like.
structure is
a1dd866b57284c6595d15d17ce6f5e87.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question