loading-bar
loading-bar copied to clipboard
ldBar doesn't appear in angular 2 app
Hi, I have an angular 2 app. I've tried to user loading bar, but it doesn't work.
In my index.html I import js and css files
<link rel="stylesheet" type="text/css" href="plugins/loading.io/loading-bar.css">
<script type="text/javascript" src="plugins/loading.io/loading-bar.js"></script>
and in my experience.component.html I load the bar like this
<div class="ldBar" data-value="50"></div>
but nothing happens. I tried it on a single html file, and works fine.
PS: Sorry for my english
PS2: I'm using angular quickstart proyect
do you have a sample repo to play with which I could reproduce this issue? I'm not quite familiar with Angular2, and I just tried the quickstart project, ldBar looks ok for me.
I am using ionic and i couldnt import loading-bar too
Any plan to support angular? I am able to inject, but not able to update progress values.
I've published an angular-loading-bar package on npm, with sample code / usage document available here: http://github.com/loadingio/angular-loading-bar
can you guys try if it works?