You may have to use the same template, but inside this template use ng-switch in combination with ng-include to load the corresponding template. Your controller can set some $ scope property that ng-switch will use to determine which template to load.
Andy has already provided an example: fooobar.com/questions/28030 / ...
source share