Hacker News new | past | comments | ask | show | jobs | submit login
Learning AngularJS: How to make an API call using factories (bugsnpieces.blogspot.com)
2 points by _rjlt on Nov 17, 2014 | hide | past | favorite | 1 comment



This only works if you want to get the same search results over and over again from different places.

This does not work if you want to make different searches.

Ive seen this pattern described before in angular blogs and wondered why memoize wasnt used or mentioned




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: