Use Services instead of Controllers in AngularJS to modularize your code
Instead of creating a ton of controllers to modularize your code go ahead separate it between services. This way you also don't have to create many divs on the HTML side which keeps your view cleaner.
Written by Avetis Ghukasyan
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#