porting over more bits from angular to vue