Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .config(["$routeProvider", function($routeProvider){
- $routeProvider
- .when("/", {
- title: "Home",
- controller: "home",
- templateUrl: "[[~154]]"
- })
- .when("/internal/:category", {
- title: "Category",
- controller: "internal",
- templateUrl: "[[~7]]",
- //1
- //paramExample: 'exampleA'
- //resolve: {
- // test: function ($route) { $route.current.params.test = true; }
- //}
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement