A hanoi tower implementation in angular and DOM