Skip to content

ericpanorel/neteye-directive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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

About

angularJS directive for NETEYE Activity Indicator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published