G
G
g00dv1n2016-02-12 19:28:13
JavaScript
g00dv1n, 2016-02-12 19:28:13

How to make transition to another form in Angular?

In general, there is a simple form for entering a username and password. After that, you still need to enter the confirmation code.
So this is how I do it. I format it as two directives (i.e. in one form for entering a password login, and in the other for entering a code) and show / hide using ng-show.
Is this the right approach, or can it be done somehow more elegantly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey P, 2016-02-12
@ruddy22

Correctly. Can you break it down into steps?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question