Stream

http://bower_components/es5-shim/es5-shim.js
http://bower_components/json3/lib/json3.min.js
http://bootstrap/js/jquery-2.0.3.min.jshttp://bootstrap/js/jquery-migrate-1.2.1.min.jshttp://bootstrap/js/jquery-ui-1.10.3.min.js<!–http://bootstrap/js/bootstrap.min.js–>http://bootstrap/js/uncompressed/bootstrap.jshttp://bootstrap/js/bootstrap-colorpicker.min.jshttp://bootstrap/js/core.min.jshttp://bootstrap/js/jquery.icheck.min.jshttp://js/643f610f.vendor.jshttp://js/2d71502e.scripts.jshttp://js/0fe50b61.utm.jsvar adwords = {3: “N8czCIrVqG0Qn6_RmwM”, 4: “Ma4FCL7ZqG0Qn6_RmwM”, 5: “QwufCM3wo20Qn6_RmwM”};
if (params[‘first’] != null && params[‘plan’] != “undefined” && adwords[params[‘plan’]] != “undefined”) {
/* */
}//www.googleadservices.com/pagead/conversion.js<!–https://bridge.paymill.com/–>https://js.stripe.com/v2/(function () {
var uv = document.createElement(‘script’);
uv.type = ‘text/javascript’;
uv.async = true;
uv.src = ‘//widget.uservoice.com/L708k4PY4YydesoNcqFgbQ.js’;
var s = document.getElementsByTagName(‘script’)[0];
s.parentNode.insertBefore(uv, s)
})()(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:35421,hjsv:6};
a=o.getElementsByTagName(‘head’)[0];
r=o.createElement(‘script’);r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,’https://static.hotjar.com/c/hotjar-&#8216;,’.js?sv=’);(function (i, s, o, g, r, a, m) {
i[‘GoogleAnalyticsObject’] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, ‘script’, ‘//www.google-analytics.com/analytics.js’, ‘ga’);

ga(‘create’, ‘UA-29250228-2’, ‘auto’);
ga(‘send’, ‘pageview’);var VILOUD = {PLANS: null, USER: null};

fetchData().then(bootstrapApplication);

function fetchData() {
var initInjector = angular.injector([“ng”]);
var $http = initInjector.get(“$http”);
var $q = initInjector.get(“$q”);

return $q.all([
$http.get(“/1/plans”).then(function(response) {
VILOUD.PLANS = response.data;
}, function(errorResponse) {
// Handle error case
}),
$http.get(“/1/user”).then(function(response) {
VILOUD.USER = response.data;
}, function(errorResponse) {
// Handle error case
})
]);
}

function bootstrapApplication() {
angular.element(document).ready(function() {
angular.bootstrap(document, [“viloud”]);
});
}

Advertisements