Last Updated: February 25, 2016
·
181
· AvetisG

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.