SHARE
TWEET
Untitled
a guest
Dec 16th, 2014
5
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- .config(['$stateProvider', '$urlRouterProvider',
- function ($stateProvider, $urlRouterProvider) {
- $urlRouterProvider.otherwise('/');
- $stateProvider
- .state('', {
- url: '/',
- templateUrl: 'views/main.html',
- controller: 'MainCtrl'
- })
- .state('/about', {
- templateUrl: 'views/about.html',
- controller: 'AboutCtrl'
- })
- .state('/channels', {
- templateUrl: 'views/channels.html',
- controller: 'ChannelsCtrl'
- }).state('/channel/:uid',{
- }).state('/login', {
- templateUrl: 'views/login.html',
- controller: 'LoginCtrl'
- });
- }]);
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.

