Created
June 25, 2014 23:24
-
-
Save colwilson/68a77d7f767138209f5e to your computer and use it in GitHub Desktop.
packages/home/public/routes/home.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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