Use ngResource for API calls
First cut at a resizer using canvas