Upgrading version of angular, using ngResource for data.