Hacker News new | ask | show | jobs
by Bahamut 4042 days ago
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.