javascript - Resolve multiple dependencies of angular-ui modal -


using angular-ui modal directive can create modal , resolve dependency.

$modal.open({     templateurl: 'my/path/template.html',     controller: mycontroller,     controlleras: 'vm',     backdrop: 'static',     resolve: {         form: _modelformresolver,         lists: ['form', function(form) {             console.log(form);         }]     } }); 

the dependency form gets resolved correctly. however, lists depending on form resolved. results in error.

unknown provider: formprovider

is possible resolve parameter other resolved parameters or have chain them somehow?


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -