Fixed program.client.controller.js $resource handlers