blog functionality from angular done