Inject app object into controller