inject app container into view