Advertisement
Guest User

Untitled

a guest
Mar 27th, 2015
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. secureModule.config(function($routeProvider){
  2. $routeProvider.when("/", {templateUrl: "partials/secure/home.html", controller : "HomeController"})
  3. .when("/home", {templateUrl : "partials/secure/home.html", controller : "HomeController"})
  4. .when("/chat", {templateUrl : "partials/secure/chat.html", controller : "ChatController"})
  5. .when("/mail", {templateUrl : "partials/secure/mail.html", controller : "MailController"})
  6. .when("/pictures", {templateUrl : "partials/secure/pictures.html", controller : "PicturesController"})
  7. .when("/buy", {templateUrl : "partials/secure/buy.html", controller : "ChatController"})
  8. .when("/settings", {templateUrl : "partials/secure/settings.html", controller : "ChatController"})
  9. .when("/logout", {redirectTo : "/logout"})
  10. .otherwise({redirectTo : "/" })
  11. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement