Refresh page when clicking on sidebar

This commit is contained in:
HooVee
2016-08-25 20:52:33 +03:00
parent 107b332358
commit 08350a276a
+4 -4
View File
@@ -4,11 +4,11 @@ app.config(['$routeProvider', function($routeProvider){
templateUrl:"/static/html/jasenlista.html",
controller:'getController',
})
.when('/list',{
.when('/list/',{
templateUrl:"/static/html/jasenlista.html",
controller:'getController',
})
.when('/add',{
.when('/add/',{
templateUrl:"/static/html/lisaa_jasen.html",
controller:'postController',
})
@@ -16,7 +16,7 @@ app.config(['$routeProvider', function($routeProvider){
templateUrl:"/static/html/muokkaa_jasenta.html",
controller:'editController',
})
.when('/applications',{
.when('/applications/',{
templateUrl:"/static/html/jasenhakemukset.html",
controller:'applController',
})
@@ -24,7 +24,7 @@ app.config(['$routeProvider', function($routeProvider){
templateUrl:"/static/html/muokkaa_jasenta.html",
controller:'appleditController',
})
.when('/addmany',{
.when('/addmany/',{
templateUrl:"/static/html/lisaa_jasenia.html",
controller:'addManyController',
})