Hey,

I just released a library that solves the hassle of maintaining 
dependencies by scanning the code and injecting them automatically.

For example, the following:
app.controller('MyCtrl', function ($scope, 
                                   $timeout, 
                                   $state, 
                                   $stateParams, 
                                   $localStorage, 
                                   $ionicPlatform, 
                                   $ionicModal, 
                                   $ionicPopup, 
                                   LoginService, 
                                   MessageService) { 
    ... 
});


... turns into:
app.controller('MyCtrl', $inject(function MyCtrl() { 
    ... 
}));


https://github.com/alongubkin/AutoInjector.js

What do you think?

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to