Skip to content

Commit 05831d4

Browse files
fix(index-async): correct the path to bower_components
1 parent 9cc6f6a commit 05831d4

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

app/index-async.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8">
5+
<link rel="stylesheet" href="bower_components/html5-boilerplate/css/normalize.css">
6+
<link rel="stylesheet" href="bower_components/html5-boilerplate/css/main.css">
57
<style>
68
[ng-cloak] {
79
display: none;
810
}
911
</style>
12+
<script src="bower_components/html5-boilerplate/js/vendor/modernizr-2.6.2.min.js"></script>
1013
<script>
1114
// include angular loader, which allows the files to load in any order
1215
//@@NG_LOADER_START@@
@@ -25,8 +28,8 @@
2528

2629
// load all of the dependencies asynchronously.
2730
$script([
28-
'../bower_components/angular/angular.js',
29-
'../bower_components/angular-route/angular-route.js',
31+
'bower_components/angular/angular.js',
32+
'bower_components/angular-route/angular-route.js',
3033
'js/app.js',
3134
'js/services.js',
3235
'js/controllers.js',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929
"preprotractor": "npm run update-webdriver",
3030
"protractor": "protractor test/protractor-conf.js",
3131

32-
"update-index-async": "node -e \"require('shelljs/global'); sed('-i', /\\/\\/@@NG_LOADER_START@@[\\s\\S]*\\/\\/@@NG_LOADER_END@@/, '//@@NG_LOADER_START@@\\n' + cat('bower_components/angular-loader/angular-loader.min.js') + '\\n//@@NG_LOADER_END@@', 'app/index-async.html');\""
32+
"update-index-async": "node -e \"require('shelljs/global'); sed('-i', /\\/\\/@@NG_LOADER_START@@[\\s\\S]*\\/\\/@@NG_LOADER_END@@/, '//@@NG_LOADER_START@@\\n' + cat('app/bower_components/angular-loader/angular-loader.min.js') + '\\n//@@NG_LOADER_END@@', 'app/index-async.html');\""
3333
}
3434
}

0 commit comments

Comments
 (0)