Skip to main content

All Questions

Tagged with
2 votes
1 answer
121 views

AngularJS - Making Factory and Controllers DRY

The following code works, but: The service makes multiple API calls, the functions are very similar with a lot of code duplication. The same is true for the controllers- very similar code with only ...
Wayne's user avatar
  • 45