Skip to content

jhatch/ng-clippy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ng-clippy

alt tag alt tag alt tag alt tag

AngularJS service wrapper for ClippyJS

angular.module('ClippyDemo', ['ngRoute', 'ngClippy'])

.config(function ($routeProvider, clippyProvider) {
  $routeProvider.when('/', {
    controller: 'DemoCtrl',
    template: '<div></div>',
    resolve: {
      agent: clippyProvider.resolve('Merlin')
    }
  });
})

.controller('DemoCtrl', function ($scope, agent) {
  agent.show();
  agent.speak('Hello World!');
});

Installation

bower install ngClippy

Note: ngClippy requires ClippyJS which requires jQuery for now...

About

AngularJS directive for ClippyJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published