angularJS directive for NETEYE Activity Indicator
This is an experiment, on creating directives for angularJS targeted to http://neteye.github.io/activity-indicator.html
1.) jQuery, as NETEYE uses jQuery2.) angularJS
To use (as an attribute):
<div class="indicator" indicator="isBusy"></div>
where "isBusy" is one of your $scope variables....
Check me to toggle the busy indicator
(function () {
'use strict';
var controllerId = 'usersController';
angular.module('app').controller(controllerId,
['$scope', usersController]);
function usersController($scope) {
var vm = this;
vm.isBusy = false;
}
})();