How can I use the ng-options in a list

0

I am trying to fill a list according to when another is selected, when a value is selected from the first list a query is made in the BD , and later with that information I filled the second list, but I have to use the ng-options since if the information or datos comes to the file HTML but I can not capture it, I leave my code to guide me to see what modifications have to be made, thanks.

<div class="input-field col m7 offset-m1 ">
                                <select  ng-model="ticketActivo.canal_venta" id="canal_venta">
                                    <option value="" disabled selected>Canal Venta</option>
                                    <option ng-repeat="canal in canales_venta" value="{{ canal.tipo_venta }}">{{ canal.tipo_venta }}</option>
                                </select>
                                <label>Canal Venta</label>

    
asked by Jonathan Garcia 16.08.2018 в 17:24
source

0 answers