115
115
max-width : 100% ;
116
116
}
117
117
</ style >
118
-
119
- <!-- quick and dirty templating, don't touch this -->
120
- < script >
121
- //INSERT_JSON_HERE;
122
- </ script >
123
-
124
- < script src ="angular.min.js "> </ script >
125
- < script >
126
- angular . module ( 'app' , [ ] )
127
- . directive ( 'preview' , function ( ) {
128
- return {
129
- restrict : 'E' ,
130
- scope : true ,
131
- link : function ( $scope , $element , $attr ) {
132
- $scope . screenSizes = [
133
- { label : 'iPhone 5 (320x568)' , size : '320x568' }
134
- ] ;
135
- $scope . screenSize = $scope . screenSizes [ 0 ] ;
136
- }
137
- }
138
- } )
139
- . run ( [ '$rootScope' , function ( $rootScope ) {
140
- $rootScope . appName = BOOTSTRAP && BOOTSTRAP . appName || null ;
141
- $rootScope . title = $rootScope . appName && $rootScope . appName + ' - Ionic App' || 'Ionic App' ;
142
- } ] ) ;
143
- </ script >
144
-
145
118
</ head >
146
119
< body >
147
120
< div id ="header-left ">
148
121
< a target ="_blank " href ="http://ionicframework.com/ " id ="logo ">
149
122
</ a >
150
123
< span ng-bind ="appName "> </ span >
151
124
</ div >
152
- <!--
153
- <header id="header">
154
- <a target="_blank" href="http://ionicframework.com/docs/components/">CSS</a>
155
- <a target="_blank" href="http://ionicframework.com/docs/api/">API</a>
156
- <a target="_blank" href="http://forum.ionicframework.com/">Forum</a>
157
- <a target="_blank" href="http://ngcordova.com/">ngCordova</a>
158
- <a target="_blank" href="https://github.com/driftyco/ionic">GitHub</a>
159
- </header>
160
- -->
161
125
< preview >
162
- <!--
163
- <div id="choice">
164
- <select ng-model="screenSize" ng-options="s.label for s in screenSizes"></select>
165
- </div>
166
- -->
167
126
< div class ="phone ">
168
127
< div id ="iphone ">
169
128
< h2 > < a href ="/?ionicplatform=ios " target ="_blank "> iOS</ a > </ h2 >
@@ -183,11 +142,6 @@ <h2><a href="/?ionicplatform=windows" target="_blank">Windows</a></h2>
183
142
</ div >
184
143
</ div >
185
144
</ preview >
186
- <!--
187
- <a href="http://ionicframework.com/" id="logo">
188
- <img src="http://docs.ionic.io/img/ionic-logo.png">
189
- </a>
190
- -->
191
145
< script >
192
146
( function ( i , s , o , g , r , a , m ) { i [ 'GoogleAnalyticsObject' ] = r ; i [ r ] = i [ r ] || function ( ) {
193
147
( i [ r ] . q = i [ r ] . q || [ ] ) . push ( arguments ) } , i [ r ] . l = 1 * new Date ( ) ; a = s . createElement ( o ) ,
0 commit comments