/neteye-directive

angularJS directive for NETEYE Activity Indicator

neteye-directive

angularJS directive for NETEYE Activity Indicator

This is an experiment, on creating directives for angularJS targeted to http://neteye.github.io/activity-indicator.html

Depends on

1.) jQuery, as NETEYE uses jQuery

2.) angularJS

To use (as an attribute):

<div class="indicator" indicator="isBusy"></div>

where "isBusy" is one of your $scope variables....

Example

HTML

Check me to toggle the busy indicator

Controller

(function () { 'use strict'; var controllerId = 'usersController'; angular.module('app').controller(controllerId, ['$scope', usersController]);
    function usersController($scope) {
        var vm = this;
        vm.isBusy = false;
    }
})();

License

MIT license - http://www.opensource.org/licenses/mit-license.php