themefisher / sleek-bootstrap

Sleek Dashboard - Free Bootstrap Admin Template and UI Kit

Home Page:https://themefisher.com/products/sleek

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to call NProgress.start(); in Angular?

Maransatto opened this issue · comments

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?