title: why need a viewcomponent if service injection in view works the same
body: <p>I am confused about view components and service injection in view.
  for eg I have created a method in my repo which returns the count of students.
  I can simply inject this service into multiple views.
  The same thing can also be achieved with the view component
  in both cases we don't depend on the controller.
  service can also be called from views along with parameters from any view.
  so what explicit benefit does the view component gives over service injection in a view?</p>