I solved it this way

<link href=
"//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel=
"stylesheet">

<button class="btn btn-info btn-md">
<i class="fa fa-spinner fa-spin" *ngIf="isValid"></i> 
Loading
</button>
isValid = true;


On Friday, August 18, 2017 at 3:01:17 PM UTC+5:30, Dhinakar Reddy 
Pothireddi wrote:
>
> I am new to Angular and trying to simulate this kind of action.
>
> https://www.tutorialrepublic.com/codelab.php?topic=bootstrap&file=stateful-button
>
> Thanks in advance.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to