Add $app param to views.