using templates from angular module