title: Why does Angular UI Bootstrap use a provider to handle the logic in the modal and tooltip but not in the other components?
body: <p>I've noticed that Angular UI Bootstrap uses a Provider to handle all the logic of the Modal and Tooltip component, but all the other components the logic is set inside a single controller that is shared by the directive and it's sub-directives.</p>
  
  <p>So what is the benefit of using a Provider instead of a controller for only those two components?</p>
  
  <p>Also why do the components accept options as data attributes which are read and parsed in the link function, instead of using the directives scope to accept the options?</p>