angular-leap/angular-leap — pull request #37 by robinboehm (2013-12-20 12:28:49+00:00)
Title: Refactoring of core-services

I've done some refactoring.

Now it's possible to config the framework like this:

```
angular.module('app)
.config(function(leapProvider){
leapProvider.config({
defaultTimeout: 200,
gestureIntense: 0.25,
});
});
```
Also at service-instance.

```
angular.module('app)
.controller("X",function(leap){
leap.config({
defaultTimeout: 200,
gestureIntense: 0.25,
});
});
```

LeapService just contain the leapjs access functions.
The LeapConfig is an own Service that is injected into the leapService(Proxy Pattern).

I like that because of
* clear separation of concerns into small services
* one interface for the framework-user via leap