How to transfer $scope.variables to controller?
问题 I am building a system where i have items listed in a list with variables Title Skills Budget Posted I also have a Modal that opens up when i click on an item in the list. I would like to take the current selected item and use its variables in my second modal controller? Is this possible? I was thinking of using a service where i cache all data that is pulled from database, but then i dont know how i would only display selected item and not EVERY item in the modal. Here is my controller for