Hacker News new | ask | show | jobs
by tantalor 4040 days ago
That is exactly what I would expect.
1 comments

Agreed - in fact, when writing services for Angular in ES6, I take advantage of the fact that I can define a function using const and then set the $inject propert of it.