M
M
Maxim2014-12-04 16:47:28
JavaScript
Maxim, 2014-12-04 16:47:28

Modal windows in angular ui?

There is an example of modal windows on the official site plnkr.co/edit/y6enka1iqBUSuHcidY3p?p=preview
So, there is data in the object

{item : 'item',
item2: 'item2',
item3: 'item3'}

But for some reason I can't display them in my popup. Does anyone have an example?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ivanov, 2014-12-04
@might

Add
$scope.tempJson = tempJson;
the first line in ModalInstanceCtrl.
In index.html, you are accessing tempJson, but this object was not defined in the scope, in the ModalInstanceCtrl controller

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question