SHARE
TWEET
Untitled
a guest
Jan 8th, 2016
50
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- angular.module('kepler', [
- 'ui.bootstrap',
- 'ui.router'
- ])
- .config(['$stateProvider', '$urlRouterProvider', function($stateProvider, $urlRouterProvider) {
- $urlRouterProvider.otherwise('/');
- $stateProvider
- .state('kepler',{
- controller: 'KeplerController',
- template: '<div ui-view></div>'
- })
- //GAME
- .state('game',{
- url: '/game',
- templateUrl: 'templates/game.tpl.html',
- controller: 'GameController'
- })
- .state('game.planet', {
- url:'/planet',
- controller: 'PlanetController',
- views:{
- 'root':{
- templateUrl: 'templates/game.planet.html'
- }
- }
- });
- }]);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.
