Prototype controller inside another controller