show example for controller inheritance with
add example log function to parent controller
make karma tests pass