Angular JS dependency injection ripped out for use on the server