Added resolve on views.