R
R
Roman2018-05-16 08:01:58
Angular
Roman, 2018-05-16 08:01:58

How to assign a property value of an ng-repeat object to a variable (in an html template)?

AngularJS
Controller, template html file.
Looping through the response array (ng-repeat). It is necessary on click (presumably ng-click) to call a function into which to pass a property from an iterable object.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Eremin, 2018-05-16
@EreminD

at least the code that already exists
and so - https://docs.angularjs.org/api/ng/directive/ngRepeat

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question