I have a simple form with data which summarize the pressed items ( via addition)
(JSBIN)
A simple way to choose controller, but keep the template the same, is to have the template in an external file, and wrap it in an ngIf, so:
ngIf
As can be seen in this Plunker