Using ngResource and Instagram to collect the most popular images