<div class="brand"><span app-version></span></div>
</div>
</div>
+<style type="text/css">
+body {
+ margin-top: 3em;
+}
+</style>
% }
<!--[if lt IE 8]>
% if ( $test ) {
<script src="/test/lib/angular/angular-mocks.js"></script>
- <script type="text/javascript">
-// https://groups.google.com/forum/?fromgroups=#!searchin/angular/e2e$20mock|sort:date/angular/ObdxCoCObYU/KENkGVfIZYkJ
-
-angular.module('testApp', ['myApp', 'ngMockE2E' ]).
- run(function ($httpBackend) {
- console.log('mock $httpBackend', $httpBackend);
- $httpBackend.whenGET(/partials\/.*/).passThrough();
- $httpBackend.whenJSONP(/./).passThrough();
- $httpBackend.whenGET(/registration/).passThrough();
- }
-);
-
-// mock console for IE
-if(!window.console) {
- window.console = new function() {
- this.log = function(str) {};
- this.info = function(str) {};
- this.debug = function(str) {};
- };
-}
-
-
-console.log('mock testApp');
-
- </script>
+ <script src="/js/testApp.js"></script>
% }
</body>