Convert from Knockout to Angular