Added $http example and rest service.