SHARE
TWEET
Untitled
a guest
May 25th, 2016
57
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- giimii_app.config(['$routeProvider', '$locationProvider',
- function($routeProvider, $locationProvider) {
- $routeProvider.
- when('/', {
- templateUrl: '/client/views/main.html',
- controller: 'mainCtrl'
- }).
- when('/login', {
- templateUrl: '/client/views/login.html',
- controller: 'loginCtrl'
- }).
- when('/register', {
- templateUrl: '/client/views/register.html',
- controller: 'registerCtrl'
- }).
- when('/profile', {
- templateUrl: '/client/views/profile.html',
- controller: 'profileCtrl'
- }).
- when('/profile/edit', {
- templateUrl: '/client/views/profile_edit.html'
- }).
- /*when('/byaccid/:accid/profile', {
- templateUrl: '/client/views/profile.html',
- controller: 'profileCtrl'
- }).
- when('/profile/edit', {
- templateUrl: '/client/views/profile_edit.html',
- controller: 'profileEditCtrl'
- }).
- when('/byaccid/:accid/profile/edit', {
- templateUrl: '/client/views/profile_edit.html',
- controller: 'profileCtrl'
- }).*/
- otherwise({
- redirectTo: '/'
- });
- $locationProvider.html5Mode(true);
- }]);
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.
