How to call NProgress.start(); in Angular?
Maransatto opened this issue · comments
Fernando Silva Maransatto commented
Hi,
I've already install sleek-dashboard via npm and I added the css and js dependencies on angular.json. Everything seems to be OK, but I definitely don't know how to call the following scripts on index.html once nprogress was included in angular.js instead of via <script> on index.html.
NProgress.configure({ showSpinner: false });
NProgress.start();
it shows me the messagem: Uncaught ReferenceError: NProgress is not defined
Does someone have any idea?