質問編集履歴
4
修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -65,7 +65,7 @@
|
|
65
65
|
```html
|
66
66
|
b.html
|
67
67
|
<ons-page ng-device-backbutton="top_clickBackButton()">
|
68
|
-
<ons-sliding-menu main-page="
|
68
|
+
<ons-sliding-menu main-page="top_page_main.html" close-on-tap menu-page="side_menu.html"
|
69
69
|
side="left" max-slide-distance="250px" var="top_page_menu">
|
70
70
|
</ons-sliding-menu>
|
71
71
|
</ons-page>
|
3
修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
<link rel="stylesheet" href="lib/onsenui/css/onsen-css-components.css">
|
22
22
|
<link rel="stylesheet" href="css/style.css">
|
23
23
|
<script>
|
24
|
-
app = ons.bootstrap('
|
24
|
+
app = ons.bootstrap('APP', ['onsen']);
|
25
25
|
|
26
26
|
ons.ready(function() {
|
27
27
|
myNavigator.pushPage("a.html");
|
2
Con
title
CHANGED
File without changes
|
body
CHANGED
@@ -57,6 +57,10 @@
|
|
57
57
|
|
58
58
|
app.controller('topPageController', ['$scope', '$timeout', function($scope, $timeout) {
|
59
59
|
}]);
|
60
|
+
app.controller('termsController', ['$scope', '$timeout', function($scope, $timeout) {
|
61
|
+
}]);
|
62
|
+
app.controller('sideMenuController', ['$scope', '$timeout', function($scope, $timeout) {
|
63
|
+
}]);
|
60
64
|
```
|
61
65
|
```html
|
62
66
|
b.html
|
1
controllerを追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -54,6 +54,9 @@
|
|
54
54
|
$(document).on('click', '#next_page', function() {
|
55
55
|
myNavigator.pushPage("b.html");
|
56
56
|
});
|
57
|
+
|
58
|
+
app.controller('topPageController', ['$scope', '$timeout', function($scope, $timeout) {
|
59
|
+
}]);
|
57
60
|
```
|
58
61
|
```html
|
59
62
|
b.html
|