This repository was archived by the owner on Oct 1, 2023. It is now read-only.

Description
I've been using a different "way" of creating controllers, so is not exactly as your example.
I can't get the spinner to start:
var myApp = angular.module('myApp', ['ngRoute', 'ui.bootstrap', 'toaster', 'angularSpinner']);
angular.module('myApp').controller('productsController', function($scope, $modal, $http, toaster, usSpinnerService) {
$scope.hey = "hey!";
usSpinnerService.spin('loading-products'); // <-- not working, no errors thrown though.
...
});
My view is as follows:
<h1>Products</h1>
{{hey}}
<span us-spinner="{radius:30, width:10, length: 16}" spinner-key="loading-products"></span>
"hey is correctly displayed" (just as a reference)
Am I bringing the usSpinnerService service in an incorrect manner?
Thank you.
I though of asking this in stackoverflow but here you can also tag the issue as a question, right? sorry if not.