Doc should encourage minification-friendly practice
bonatoc opened this issue · comments
Christian Bonato commented
.factory('MyFactory', function MyFactory(locker) {
locker.put('someKey', 'someVal');
});
should be :
.factory('MyFactory', ['locker', function MyFactory(locker) {
locker.put('someKey', 'someVal');
}]);
Sean Tymon commented
Yea I suppose that would help people new to the framework... job done
Thanks