Angular2 and promiseLibrary

The Javascript client library gives an example on how to use promiseLibrary in order “To notify Angular to update the UI”, meaning AngularJS. How can this be done with Angular2 ?

https://doc.nuxeo.com/710/nxdoc/javascript-client/

BTW, that was an issue in the Angular2 generator of Nuxeo CLI and has been fixed by injecting the ApplicationRef and calling tick(), thus not making use of promiseLibrary

0 votes

1 answers

906 views

ANSWER



This has been fixed in Nuxeo Javascript Client and Nuxeo CLI

0 votes