mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Fixed #166
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
.config(function($routeProvider, $locationProvider) {
|
||||
$routeProvider.when('/', {
|
||||
$routeProvider.when('/cats', {
|
||||
templateUrl: 'page1.html',
|
||||
controller: 'Page1Ctrl'
|
||||
});
|
||||
@@ -59,6 +59,10 @@
|
||||
templateUrl: 'page3.html',
|
||||
});
|
||||
|
||||
$routeProvider.otherwise({
|
||||
redirectTo: '/cats'
|
||||
});
|
||||
|
||||
// configure html5 to get links working on jsfiddle
|
||||
//$locationProvider.html5Mode(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user