You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function 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").
Overview of the problem
We have several functions declared globally in controller files.
This can create issues hard to anticipate and solve.
Description
Expected behavior
Functions should be scoped
Actual behavior
Functions are declared outside of AngularJS's controllers call back
The text was updated successfully, but these errors were encountered: