Skip to content

Instantly share code, notes, and snippets.

@colwilson
Created June 25, 2014 23:24
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 colwilson/68a77d7f767138209f5e to your computer and use it in GitHub Desktop.
Save colwilson/68a77d7f767138209f5e to your computer and use it in GitHub Desktop.
packages/home/public/routes/home.js
'use strict';
angular.module('mean.home').config(['$stateProvider',
function($stateProvider) {
$stateProvider.state('home page', {
url: '/',
templateUrl: 'home/views/index.html'
}).state('home.thing', {
url: '/:thing/index.html',
templateUrl: 'home/views/thing.html'
});
}
]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment