Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit b76b5f5

Browse files
feat(index): use html5-boilerplate HTML, modernizr and styles
Closes #1
1 parent caadfb8 commit b76b5f5

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

app/index.html

+15-2
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,29 @@
1-
<!doctype html>
2-
<html lang="en" ng-app="myApp">
1+
<!DOCTYPE html>
2+
<!--[if lt IE 7]> <html lang="en" ng-app="myApp" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
3+
<!--[if IE 7]> <html lang="en" ng-app="myApp" class="no-js lt-ie9 lt-ie8"> <![endif]-->
4+
<!--[if IE 8]> <html lang="en" ng-app="myApp" class="no-js lt-ie9"> <![endif]-->
5+
<!--[if gt IE 8]><!--> <html lang="en" ng-app="myApp" class="no-js"> <!--<![endif]-->
36
<head>
47
<meta charset="utf-8">
8+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
59
<title>My AngularJS App</title>
10+
<meta name="description" content="">
11+
<meta name="viewport" content="width=device-width, initial-scale=1">
12+
<link rel="stylesheet" href="../bower_components/html5-boilerplate/css/normalize.css">
13+
<link rel="stylesheet" href="../bower_components/html5-boilerplate/css/main.css">
614
<link rel="stylesheet" href="css/app.css"/>
15+
<script src="../bower_components/html5-boilerplate/js/vendor/modernizr-2.6.2.min.js"></script>
716
</head>
817
<body>
918
<ul class="menu">
1019
<li><a href="#/view1">view1</a></li>
1120
<li><a href="#/view2">view2</a></li>
1221
</ul>
1322

23+
<!--[if lt IE 7]>
24+
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
25+
<![endif]-->
26+
1427
<div ng-view></div>
1528

1629
<div>Angular seed app: v<span app-version></span></div>

bower.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"angular": "1.2.x",
1010
"angular-route": "1.2.x",
1111
"angular-loader": "1.2.x",
12-
"angular-mocks": "~1.2.15"
12+
"angular-mocks": "~1.2.15",
13+
"html5-boilerplate": "~4.3.0"
1314
}
1415
}

0 commit comments

Comments
 (0)