Created
March 24, 2014 07:28
-
-
Save diegonetto/9735656 to your computer and use it in GitHub Desktop.
Using vendor assets with generator-ionicjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width"> | |
<title>"Test3"</title> | |
<!-- build:css({.tmp,app}) styles/main.css --> | |
<link rel="stylesheet" href="styles/main.css"> | |
<!-- endbuild --> | |
<!-- build:css styles/vendor.css --> | |
<link rel="stylesheet" href="bower_components/leaflet/dist/leaflet.css"> | |
<!-- bower:css --> | |
<link rel="stylesheet" href="bower_components/ionic/release/css/ionic.css" /> | |
<!-- endbower --> | |
<!-- endbuild --> | |
</head> | |
<body ng-app="Test3" animation="slide-left-right-ios7"> | |
<!-- | |
The nav bar that will be updated as we navigate between views | |
Additional attributes set its look, ion-nav-bar animation and icons | |
Icons provided by Ionicons: http://ionicons.com/ | |
--> | |
<ion-nav-bar type="bar-positive" | |
animation="nav-title-slide-ios7" | |
back-button-type="button-icon button-clear" | |
back-button-icon="ion-ios7-arrow-back"></ion-nav-bar> | |
<!-- | |
The views will be rendered in the <ion-nav-view> directive below | |
Templates are in the /templates folder (but you could also | |
have templates inline in this html file if you'd like). | |
--> | |
<ion-nav-view></ion-nav-view> | |
<!-- build:js scripts/vendor.js --> | |
<script src="bower_components/leaflet/dist/leaflet.js"></script> | |
<!-- bower:js --> | |
<script src="bower_components/angular/angular.js"></script> | |
<script src="bower_components/angular-animate/angular-animate.js"></script> | |
<script src="bower_components/angular-sanitize/angular-sanitize.js"></script> | |
<script src="bower_components/angular-ui-router/release/angular-ui-router.js"></script> | |
<script src="bower_components/ionic/release/js/ionic.js"></script> | |
<script src="bower_components/ionic/release/js/ionic-angular.js"></script> | |
<!-- endbower --> | |
<!-- endbuild --> | |
<!-- build:js({.tmp,app}) scripts/scripts.js --> | |
<script src="scripts/app.js"></script> | |
<script src="scripts/services.js"></script> | |
<script src="scripts/controllers.js"></script> | |
<!-- endbuild --> | |
<!-- cordova script (this will be a 404 during development) --> | |
<script src="cordova.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment