Answer the question
In order to leave comments, you need to log in
How to add tag on event in angularjs?
Good.
Tell me please.
There is a block with forms, by pressing a button a new field should be added to the form, and at the end. How to implement it?
Google mostly talks about directives, but there are not quite the examples that are needed.
Answer the question
In order to leave comments, you need to log in
In template:
<div ng-repeat='input in inputs'>
<label>input.label</label>
<input type='text' />
</div>
var inputs = [
{label: 'Пароль'} // каждый элемент в массиве это объект с настройками для инпута.
];
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question