Angluar sample help

Implementation example
    const sm = new testControl();
    sm.start();
    while(!sm.is_end()) {
      sm.Update();
    }