>>>>Looks as if you're using angular-ui. If that's the case wouldn't a nested state/view be a good solution.
>>>
>>>No, the grids are not identical.
>>
>>You could put the loadView function outside the controllers and call it from each passing in $scope, $rootscope and invoiceno. ?
>
>Why not create a common prototype for those 3 controllers?
>
What do you mean by that? I don't think there is inheritance in JavaScript.
If it's not broken, fix it until it is.
My Blog