generator-angular-xl icon indicating copy to clipboard operation
generator-angular-xl copied to clipboard

Invalid value for cg-busy. cgBusy no longer accepts string ids to represent promises/trackers.

Open cmelion opened this issue 10 years ago • 2 comments

Anyone else seeing this on newly created projects? I'm using a cloned version of the generator with local link.

cmelion avatar Nov 19 '14 21:11 cmelion

The cg-busy is based directly on promises now:

function MyCtrl($scope,$http,User) {
  $scope.myPromise = $http.get('...');
}

<div cg-busy="myPromise"></div>

So it might be wise to update the library. Maybe we should think of another way to add this functionality in the repositories.

https://github.com/cgross/angular-busy/blob/master/README.md

arealmaas avatar Nov 20 '14 10:11 arealmaas

yep, removing the quotes does the trick on line 46 of main-view.html:

cmelion avatar Nov 25 '14 21:11 cmelion