in AngularJS I can define a controller for a section on the page. I can have a single page with multi-controllers.
<div ng-controller="ThisSectionController">
....
</div>
<div ng-controller="ThatSectionController">
....
</div>
I can reuse a controller while sending a different configuration with ng-init
<div ng-controller="MyController" ng-init="i = 1">
{{ i }}
</div>
<div ng-controller="MyController" ng-init="i =2" >
{{ i }}
</div>
This will output 1 and 2 as you expect it.
My question is - How can I reuse a controller and configure it to use a different service?