porting over more bits from angular to vue
finished first pass at the angular to vue port