I would like to have a different template based on my scope.
Currently, I have only one template named : view-project.html
accessible by this url : #/project/:id
.
Now, I need two templates : view-project-1.html
and view-project-2.html
.
and I need them to keep the same url : #/project/:id
So for example, if my $scope.template = 1, I would like to use view-project-1.html
with this url #/project/300
. And if $scope.template = 2
I would like to use view-project-2.html
with this url #/project/300
Is it possible to do that ?