you should not use global dom selector in view.