Echo JS 0.11.0

<~>
saelfaer 3709 days ago. link 1 point
Non issue if you ask me, as there is an easy workaround for the magic Dependency injection. define it as an array with the actual function as last item in your array.

var mod = angular.module('mod', []);

mod.controller('controllerName', ['$http', 'otherdependency', function(httpobj, otherdependency){

// you can name them httpobj, because the array syntax tells angular that $http should be loaded in the first attribute of the controller function.
}]);

Replies