This is not a web page. Once Tim Berners-Lee dies he’ll immediately start rolling in his grave.
Also, Jesus wept.
Also also, get off my lawn!
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>THING CM Fooing</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="http://example.com/styles/FooStyleGuide.spacelab.min.css">
<script type="text/javascript" src="http://example.com//scripts/vendor.js"></script>
<script type="text/javascript">
'use strict';
(function (angular, define, require,$) {
require.config({
enforceDefine: true,
baseUrl: '/',
paths: {
Modules: 'http://example.com:8080//Modules'
}
});
require([
'Scripts/authSvc',
'Scripts/loadFoo',
'Modules/Foo/scripts/foo'
], function (authSvc, loadFoo) {
angular
.module('cmFooing', [
'ngCookies',
'ngResource',
'ngSanitize',
'ngRoute',
'ui.bootstrap',
'ngAnimate',
'toaster',
'pascalprecht.translate',
'foo'
])
.service('authSvc', authSvc)
.controller('loadFooingController', loadFooing)
.constant('settings', {
restUrl: 'http://example.com/Product.REST/',
tenant: 'FOO:WEB',
jwt: 'reallybighash',
language: 'en'
});
$(function () {
angular.bootstrap(document, ['cmFooing']);
});
});
})(window.angular, window.define, window.require, window.jQuery);
</script>
</head>
<body>
<div class="container">
<toaster-container></toaster-container>
<div ng-controller="loadFooingController">
<div ng-if="loaded !== true">
<h3>Loading...</h3>
</div>
<div ng-if="loaded === true">
<foo processtype="ChangeFoo"
channelid="1"
rest-url="http://example.com/Product.REST/"
tenant="PRODUCT:WEB"
auth-header="{{authHeader}}" />
</div>
</div>
</div>
</body>
</html>