Fixed bug where a child controller inheriting a parent controllers traits would not get the dependencies injected correctly.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>