angular/angular.js — Issue #740: usage of $inject in 0.10.7 controllers
Author: dandoyon
Created: 2012-02-02 05:54:42+00:00
State: open

I was playing around with 10.7 and was trying to figure out why my controllers scope object was being trounced

function Ctrl($scope) {

}
Ctrl.$inject = [];

I figured out that it has to do with $inject . Am I correct to assume that $inject should always have '$scope' leading the injections?

--dan