Answer the question
In order to leave comments, you need to log in
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'}
Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question