Last active
December 16, 2015 15:09
-
-
Save spion/5453811 to your computer and use it in GitHub Desktop.
Angular injection madness
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
'blah', | |
'stuff', | |
'meh', | |
'thingy', | |
'one', | |
'another', | |
'something', | |
'otherthing', | |
'yetanother', | |
'morestuff', | |
function ( | |
blah, | |
stuff, | |
meh, | |
thingy, | |
another, | |
something, | |
otherthing, | |
yetanother, | |
morestuff) {... | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[$injector, function($i) { | |
var blah = $i.get('blah'), | |
stuff = $i.get('stuff'), | |
meh = $i.get('meh'), | |
thingy = $i.get('thingy'), | |
one = $i.get('one'), | |
another = $i.get('another'), | |
something = $i.get('something'), | |
otherthing = $i.get('otherthing'), | |
yetanother = $i.get('yetanother'), | |
morestuff = $i.get('morestuff'); | |
... | |
}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment