I’m frustrated

Transferring data from Page to Modal. Modal retrieves Undefined.

Hello, I have implemented Modals successfully twice now but it does not work when I create a modal after clicking onto a List.

Here is the function that is called when clicking on an item in a List


This is the Init funtion (Which uses ng-init in the modal) that is used in the Modal


Both the Page and Modal have scoped variables 'selectedUser' of type 'user'.

I can't figure out why it's keep on retrieving undefined. Is there something I'm missing? Been trying to figure this out for hours.
1 person has
this question
+1
Reply