We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f3f38d commit dd547faCopy full SHA for dd547fa
app/index-async.html
@@ -36,8 +36,11 @@
36
'js/filters.js',
37
'js/directives.js'
38
], function() {
39
- // when all is done, execute bootstrap angular application
40
- angular.bootstrap(document, ['myApp']);
+ // add an artificial delay to simulate first time cache hit.
+ window.setTimeout(function() {
41
+ // when all is done, execute bootstrap angular application
42
+ angular.bootstrap(document, ['myApp']);
43
+ }, 1000);
44
});
45
</script>
46
<title>My AngularJS App</title>
0 commit comments