Skip to content

Instantly share code, notes, and snippets.

@nerder
Created July 16, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nerder/6170ed06bf5a018ee32c to your computer and use it in GitHub Desktop.
Save nerder/6170ed06bf5a018ee32c to your computer and use it in GitHub Desktop.
// Product page template
.state("product", {
url: "/product/:param",
templateUrl: "modules/products/product.html",
data: {pageTitle: 'Product'},
controller: "ProductController"
})
.state("product.base", {
url: "/base",
templateUrl: "modules/products/template/base.html",
data: {pageTitle: 'Product'},
controller: "ProductController"
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment