diff --git a/scripts/app.js b/scripts/app.js index 3878da7..68eba2e 100644 --- a/scripts/app.js +++ b/scripts/app.js @@ -4,15 +4,16 @@ app.config( function ($routeProvider, $locationProvider) { $routeProvider - .when("/", {templateUrl: "views/news.html", controller: "news"}) - .when("/content", {templateUrl: "views/content.html", controller: "content"}) + .when("/", {templateUrl: "views/blog.html", controller: "blog"}) + .when("/create", {templateUrl: "views/create.html", controller: "create"}) .when("/about", {templateUrl: "views/about.html", controller: "about"}) - .when("/login", {templateUrl: "views/login.html", controller: "login"}); + .when("/faq", {templateUrl: "views/faq.html", controller: "faq"}) + .otherwise("