BaseView to check and inject required dependencies