Closed galnitsan closed 5 years ago
functions moved inside controllers.
suitable names were named for these functions. the "old" names of functions were changed to the "new" names in all functions calls.
2 new services were create (factory) - (camps/suppliers).
camps/suppliers services were injected to relevant controllers.
camps/suppliers services were declared in layout.jade (under "spark scripts").
tested - ok.
Proposed solution
functions moved inside controllers.
suitable names were named for these functions. the "old" names of functions were changed to the "new" names in all functions calls.
2 new services were create (factory) - (camps/suppliers).
camps/suppliers services were injected to relevant controllers.
camps/suppliers services were declared in layout.jade (under "spark scripts").
Tradeoffs
Testing Done
tested - ok.