Added card directive
Added service to retrieve object from api