Changed $http calls to resources

Changes most of the $http calls to angular resource objects through out
the controllers.