$routeProvider.when('/ticket', { controller: TicketController, templateUrl: Routing.generate('ticket_list') });
displays a simple list in which each entry can be selected. However, when you select additional viewing, it does not load. Everything in the ticket_lost template . The template has several hidden fields that appear when the button is clicked.
I can determine which record is selected internally by setting
selectedTicket = 1;
So, when there is a route like
/ticket/1
I want to call a function that sets selectedTicket to 1. Is this possible? How to do it? What do I need to change in routing?
Lost in owl
source share