{"id":923,"date":"2019-02-07T15:47:56","date_gmt":"2019-02-07T12:47:56","guid":{"rendered":"http:\/\/global.bg\/bg\/?p=923"},"modified":"2019-02-07T16:46:39","modified_gmt":"2019-02-07T13:46:39","slug":"a-way-to-hook-to-the-initialization-of-the-angular-application-part-i","status":"publish","type":"post","link":"https:\/\/global.bg\/bg\/a-way-to-hook-to-the-initialization-of-the-angular-application-part-i\/","title":{"rendered":"Download \u043d\u0430 third-party JavaScript \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0438 \u043d\u0430\u0447\u0438\u043d \u0434\u0430 \u0441\u0435 \u201e\u0437\u0430\u043a\u0430\u0447\u0438\u0442\u0435\u201c \u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 Angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u041f\u0440\u0438\u043c\u0435\u0440 \u0441 Analytics.js. \u0427\u0430\u0441\u0442 \u043f\u044a\u0440\u0432\u0430."},"content":{"rendered":"\n<p>\u041e\u0442 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e \u0432\u0440\u0435\u043c\u0435, \u0432 \u043f\u0440\u043e\u0444\u0435\u0441\u0438\u043e\u043d\u0430\u043b\u043d\u0430\u0442\u0430 \u0441\u0438 \u0440\u0430\u0431\u043e\u0442\u0430, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0432\u0430\u043c \u0441\u043e\u0444\u0442\u0443\u0435\u0440\u043d\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u043d\u0430 Angular. \u0412 \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u043b\u0443\u0447\u0430\u044f \u0441\u044a\u043c \u0441\u0435 \u0441\u0431\u043b\u044a\u0441\u043a\u0432\u0430\u043b \u0441 \u0432\u044a\u043f\u0440\u043e\u0441\u0438 \u043a\u0430\u043a \u0435\u0434\u043d\u043e \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u043e \u043d\u0435\u0449\u043e \u0431\u0438 \u043c\u043e\u0433\u043b\u043e \u0434\u0430 \u0441\u0435 \u0441\u043b\u0443\u0447\u0438 \u0438 \u043d\u0435 \u0441\u044a\u043c \u043e\u0442\u043a\u0440\u0438\u0432\u0430\u043b \u0431\u044a\u0440\u0437 \u0438 \u0435\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u0435\u043d \u043e\u0442\u0433\u043e\u0432\u043e\u0440 \u0437\u0430 \u0441\u0435\u0431\u0435 \u0441\u0438. \u0412 \u0442\u043e\u0437\u0438 \u043f\u043e\u0441\u0442 \u0449\u0435 \u0434\u0438\u0441\u043a\u0443\u0442\u0438\u0440\u0430\u043c \u0434\u0432\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0438 \u043d\u0435\u0449\u0430 \u043e\u0442 \u0442\u043e\u0437\u0438 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440:<\/p>\n\n\n\n<ol><li>\u041a\u0430\u043a \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u043d\u043e \u043e\u0442 Angular \u0434\u0430 \u201e\u0441\u0432\u0430\u043b\u044f\u043c\u0435\u201c \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u0442\u043e third-party JavaScript \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438<\/li><li>\u041a\u0430\u043a \u0434\u0430 \u0441\u0435 \u201e\u0437\u0430\u043a\u0430\u0447\u0438\u043c\u201c \u0437\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0430 \u043d\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043d\u0430 Angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u0442\u043e \u0438 \u0434\u0430 \u0438\u0437\u043f\u044a\u043b\u043d\u0438\u043c \u043d\u0430\u0448 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d \u0441\u043a\u0440\u0438\u043f\u0442<\/li><\/ol>\n\n\n\n<p><\/p>\n\n\n\n<p>\u0417\u0430 \u0438\u043b\u044e\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0441\u044a\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0435\u0434\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0435\u0442\u043e \u0449\u0435 \u0446\u0438\u0442\u0438\u0440\u0430\u043c \u043d\u0430 \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u043c\u0435\u0441\u0442\u0430 \u0432 \u043f\u043e\u0441\u0442\u0430.<\/p>\n\n\n\n<p>\u041a\u043e\u0434\u044a\u0442 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0442\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0435 \u0434\u043e\u0441\u0442\u044a\u043f\u0435\u043d \u043d\u0430: <a href=\"https:\/\/github.com\/agyonov\/NgInitGA\">https:\/\/github.com\/agyonov\/NgInitGA<\/a><\/p>\n\n\n\n<p>\u0421\u0430\u043c\u043e\u0442\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0435 \u0436\u0438\u0432\u043e \u043d\u0430: <a href=\"https:\/\/agyonov.github.io\/NgInitGA\">https:\/\/agyonov.github.io\/NgInitGA<\/a><\/p>\n\n\n\n<h2 style=\"text-align:center\">\u0414\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u043d download \u043d\u0430 third-party JavaScript \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430<\/h2>\n\n\n\n<p>\u0417\u0430 \u043f\u043e\u0432\u0435\u0447\u0435\u0442\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u043a\u043e\u0438\u0442\u043e \u0431\u0438\u0445\u0442\u0435 \u0438\u0441\u043a\u0430\u043b\u0438 \u0434\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435, \u043d\u044f\u043a\u043e\u0439 \u0432\u0435\u0447\u0435 \u0435 \u0441\u044a\u0437\u0434\u0430\u043b, \u0440\u0430\u0437\u0432\u0438\u0432\u0430 \u0438 \u043f\u043e\u0434\u0434\u044a\u0440\u0436\u0430 NPM \u043f\u0430\u043a\u0435\u0442 \u0441\u044a\u0441 \u0441\u044a\u043e\u0442\u0432\u0435\u0442\u043d\u0438\u044f(\u0442\u0435) Angular \u043c\u043e\u0434\u0443\u043b\u0438 \u0438 \u0412\u0438\u0435 \u0431\u0438\u0445\u0442\u0435 \u043c\u043e\u0433\u043b\u0438 (\u0430 \u0438 \u0431\u0438 \u0442\u0440\u044f\u0431\u0432\u0430\u043b\u043e) \u0434\u0430 \u0433\u0438 \u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 \u043d\u0430 \u0433\u043e\u0442\u043e\u0432\u043e. \u041d\u043e \u043f\u043e\u043d\u044f\u043a\u043e\u0433\u0430 \u043d\u044f\u043c\u0430 \u0433\u043e\u0442\u043e\u0432 NPM \u043f\u0430\u043a\u0435\u0442 \u0438\u043b\u0438 \u0442\u043e\u0437\u0438, \u043a\u043e\u0439\u0442\u043e \u0435 \u043d\u0430\u043b\u0438\u0447\u0435\u043d \u043d\u0435 \u0432\u0438 \u0445\u0430\u0440\u0435\u0441\u0432\u0430 \u0438 \u0442\u043e\u0433\u0430\u0432\u0430 \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0438\u0440\u0435\u043a\u0442\u043d\u043e \u0434\u0430 \u0437\u0430\u043a\u0430\u0447\u0438\u0442\u0435 \u0438\u0441\u043a\u0430\u043d\u0430\u0442\u0430 \u043e\u0442 \u0432\u0430\u0441 JavaScript \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043a\u044a\u043c \u0432\u0430\u0448\u0435\u0442\u043e Angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438 \u0434\u0430 \u044f \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435.<\/p>\n\n\n\n<p>\u0418\u043c\u0430 \u0434\u0432\u0430 \u043b\u0435\u0441\u043d\u0438 \u043f\u043e\u0434\u0445\u043e\u0434\u0430, \u043a\u043e\u0438\u0442\u043e \u0441\u0430 \u043e\u043f\u0438\u0441\u0430\u043d\u0438 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f\u0442\u0430 \u043d\u0430 Angular \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0432 \u0442\u0430\u0437\u0438 \u043d\u0430 Google Analytics. \u0417\u0430 \u0441\u044a\u0436\u0430\u043b\u0435\u043d\u0438\u0435, \u0442\u0435 \u043d\u0435 \u0432\u0438\u043d\u0430\u0433\u0438 \u0432\u044a\u0440\u0448\u0430\u0442 \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u043e \u0435\u0434\u043d\u0430 \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u0430 \u043f\u0440\u0438\u0447\u0438\u043d\u0430.<\/p>\n\n\n\n<ol><li><strong>\u041f\u044a\u0440\u0432\u043e\u0442\u043e<\/strong>, \u0438\u0437\u0446\u044f\u043b\u043e Angular, \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0435 \u0434\u0430 \u0441\u0432\u0430\u043b\u0438\u0442\u0435 \u0441\u044a\u043e\u0442\u0432\u0435\u0442\u043d\u0438\u044f .js \u0444\u0430\u0439\u043b \u043e\u0442 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442. \u0414\u0430 \u0433\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u0435 \u043a\u044a\u043c \u0412\u0430\u0448\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442 \u0438 \u0434\u0430 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u0435 \u0440\u0435\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f \u043a\u044a\u043c .js \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u0442\u0430 \u0432 \u043c\u0430\u0441\u0438\u0432\u0430 scripts, \u043d\u0430 <a>angular.json <\/a>\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u0438\u044f \u0444\u0430\u0439\u043b<em>. <\/em>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/li><\/ol>\n\n\n<pre class=\"prettyprint\"><code class=\"language-ts\">\u2026\n\"scripts\": [\n              \"src\/scripts\/analytics.js\"\n            ]\n\u2026\n<\/code><\/pre>\n<p><\/p>\n\n\n<p>\u041a\u0430\u043a\u0442\u043e \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0432 <a href=\"https:\/\/angular.io\/guide\/workspace-config#additional-build-and-test-options\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f\u0442\u0430<\/a> \u043d\u0430 <em>Angular<\/em>.<\/p>\n\n\n\n<p>\u0422\u043e\u0432\u0430 \u0435 \u041e\u041a \u043a\u0430\u0442\u043e \u043f\u043e\u0434\u0445\u043e\u0434 \u0438 \u0449\u0435 \u0440\u0430\u0431\u043e\u0442\u0438.<\/p>\n\n\n\n<p style=\"text-align:left\"><strong>\u0421\u044a\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435<\/strong> \u0441\u0440\u0435\u0449\u0443 \u0435\u0432\u0435\u043d\u0442\u0443\u0430\u043b\u043d\u043e\u0442\u043e \u043c\u0443 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435, \u0435 \u0447\u0435 \u043f\u0440\u0438 \u0442\u043e\u0437\u0438 \u043f\u043e\u0434\u0445\u043e\u0434 .js \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0449\u0435 \u0441\u0435 download-\u0432\u0430 \u043e\u0442 \u0432\u0430\u0448\u0438\u044f \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0441\u044a\u0440\u0432\u044a\u0440, \u0430 \u043d\u0435 \u043e\u0442 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u043d\u0438\u044f \u0441\u044a\u0440\u0432\u044a\u0440 (\u0432 \u0441\u043b\u0443\u0447\u0430\u044f <a href=\"https:\/\/www.google-analytics.com\/analytics.js\">https:\/\/www.google-analytics.com\/analytics.js<\/a>). \u0418 \u0432\u044a\u043f\u0440\u043e\u0441\u0430 \u043d\u0435 \u0435 \u0442\u043e\u043b\u043a\u043e\u0432\u0430 \u0432 \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u044f \u0442\u0440\u0430\u0444\u0438\u043a \u043a\u044a\u043c \u0412\u0430\u0448\u0438\u044f \u0441\u0430\u0439\u0442 \u0438 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0442\u0430, \u0430 \u0432 \u0442\u043e\u0432\u0430, \u0447\u0435 \u0430\u0432\u0442\u043e\u0440\u0430 \u043d\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u0442\u0430 (Google) \u0431\u0438 \u043c\u043e\u0433\u044a\u043b \u0434\u0430 \u043f\u0440\u043e\u043c\u0435\u043d\u044f \u0440\u0430\u0437\u043d\u0438 \u043d\u0435\u0449\u0430 \u0432 \u043d\u0435\u044f, \u0434\u0430 \u0438\u043c\u0430 \u043d\u043e\u0432\u0438 \u0432\u0435\u0440\u0441\u0438\u0438 \u0438 \u0442.\u043d., \u0430 \u0432\u0438\u0435 \u043d\u044f\u043c\u0430 \u0434\u0430 \u0438\u043c\u0430\u0442\u0435 \u0442\u0430\u0437\u0438 \u043d\u043e\u0432\u0430 \u0432\u0435\u0440\u0441\u0438\u044f, \u0434\u043e\u043a\u0430\u0442\u043e \u043d\u0435 re-build-\u043d\u0435\u0442\u0435 \u0438 \u043d\u0435 \u043f\u0440\u0435-\u043f\u0443\u0431\u043b\u0438\u043a\u0443\u0432\u0430\u0442\u0435 \u0432\u0430\u0448\u0435\u0442\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435.<\/p>\n\n\n\n<p><strong>\u00a0          2. \u0412\u0442\u043e\u0440\u0438\u044f<\/strong> \u043f\u043e\u0434\u0445\u043e\u0434 \u0435 \u0434\u0430 \u0441\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u0442\u0430 \u043e\u0442 <a href=\"https:\/\/developers.google.com\/analytics\/devguides\/collection\/analyticsjs\/#alternative_async_tracking_snippet\">\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0442\u0430<\/a> \u043d\u0430 <em>Google Analytics<\/em>:<\/p>\n\n\n<pre class=\"prettyprint\"><code class=\"language-html\">&lt;script&gt;\nwindow.ga=window.ga || function(){(ga.q=ga.q||[]).push(arguments)};\nga.l=+new Date;\nga('create', 'UA-XXXXX-Y', 'auto');\nga('send', 'pageview');\n&lt;\/script&gt;\n&lt;script async src='https:\/\/www.google-analytics.com\/analytics.js'&gt;\n&lt;\/script&gt;\n<\/code><\/pre>\n\n\n<p>\u0418 \u0433\u043e\u0440\u043d\u0438\u044f \u043a\u043e\u0434 \u0434\u0430 \u0441\u0435 \u043f\u043e\u0441\u0442\u0430\u0432\u0438 \u0434\u0438\u0440\u0435\u043a\u0442\u043d\u043e \u0432 <em>index.html<\/em> \u0444\u0430\u0439\u043b\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u0449 \u0432\u0430\u0448\u0435\u0442\u043e <em>Angular<\/em> \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435<strong>. \u041f\u043e-\u0441\u043f\u0435\u0446\u0438\u0430\u043b\u043d\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u044f \u0440\u0435\u0434 \u043e\u0442 \u0433\u043e\u0440\u043d\u0430\u0442\u0430 \u0438\u0437\u0432\u0430\u0434\u043a\u0430 \u043a\u043e\u0434<\/strong>.<\/p>\n\n\n\n<p>\u0422\u043e\u0432\u0430 \u0435 \u041e\u041a \u043a\u0430\u0442\u043e \u043f\u043e\u0434\u0445\u043e\u0434 \u0438 \u0441\u044a\u0449\u043e \u0449\u0435 \u0440\u0430\u0431\u043e\u0442\u0438 <strong>\u0432 \u0447\u0430\u0441\u0442\u0442\u0430 \u043c\u0443 \u0437\u0430 download \u043d\u0430 .js \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u0442\u0430<\/strong>. \u041e\u0441\u0432\u0435\u043d \u0442\u043e\u0432\u0430 \u0442\u0443\u043a \u0432\u044a\u0437\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u0442\u0430, \u043a\u043e\u0438\u0442\u043e \u0431\u044f\u0445\u0430 \u0432\u0430\u043b\u0438\u0434\u043d\u0438 \u0437\u0430 \u043f\u044a\u0440\u0432\u043e\u0442\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043e\u0442\u043f\u0430\u0434\u0430\u0442 \u043f\u043e \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d \u043d\u0430\u0447\u0438\u043d.<\/p>\n\n\n\n<p style=\"text-align:center\"><strong>\u0421\u044a\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435<\/strong> \u0441\u0440\u0435\u0449\u0443 \u0435\u0432\u0435\u043d\u0442\u0443\u0430\u043b\u043d\u043e\u0442\u043e \u043c\u0443 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435, \u0435 \u0441\u0442\u0438\u043b\u0438\u0441\u0442\u0438\u0447\u043d\u043e \u2013 \u043d\u0435 \u0435 \u201e\u0447\u0438\u0441\u0442\u043e\u201c <em>Angular<\/em> \u0440\u0435\u0448\u0435\u043d\u0438\u0435.<\/p>\n\n\n\n<p>\u041e\u0441\u0442\u0430\u043d\u0430\u043b\u0430\u0442\u0430 \u0447\u0430\u0441\u0442 \u043e\u0442 \u043e\u0442\u0440\u044f\u0437\u044a\u043a\u0430 \u043a\u043e\u0434 \u043e\u0442 <em>Google Analytics<\/em>, \u0432\u0438\u0434\u0435\u043d \u043f\u043e-\u0433\u043e\u0440\u0435, <strong>\u0438\u0437\u043e\u0431\u0449\u043e \u043d\u0435 \u043d\u0438 \u0432\u044a\u0440\u0448\u0438 \u0440\u0430\u0431\u043e\u0442\u0430<\/strong>! \u0417\u0430\u0449\u043e\u0442\u043e \u043f\u0440\u0438 <em>Angular<\/em> \u0438\u043c\u0430\u043c\u0435 <strong>Single Page Application<\/strong> (SPA) \u043f\u0440\u0438 \u043a\u043e\u0438\u0442\u043e, \u0437\u0430 \u0440\u0430\u0437\u043b\u0438\u043a\u0430 \u043e\u0442 \u0442\u0440\u0430\u0434\u0438\u0446\u0438\u043e\u043d\u043d\u0438\u0442\u0435 \u0443\u0435\u0431 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0440\u0435\u0430\u043b\u043d\u043e \u0441\u0430\u043c\u043e \u043f\u044a\u0440\u0432\u0430\u0442\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0441\u0435 \u0437\u0430\u0440\u0435\u0436\u0434\u0430 \u043e\u0442 \u0443\u0435\u0431 \u0441\u044a\u0440\u0432\u044a\u0440\u0430, \u0430 \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435 \u0432\u0441\u0435\u043a\u0438 \u043f\u0440\u0435\u0445\u043e\u0434 \u043e\u0442 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0432 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430, \u0441\u0435 \u0441\u043b\u0443\u0447\u0432\u0430 \u0441\u0430\u043c\u043e \u0432\u044a\u0442\u0440\u0435 \u0432 SPA \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u0442\u043e \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430. \u0421\u044a\u0449\u043e \u0430\u043a\u043e \u0438\u043c\u0430\u043c\u0435 \u0438 \u043d\u044f\u043a\u0430\u043a\u0432\u0438 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u043d\u0438 \u0441\u044a\u0431\u0438\u0442\u0438\u044f (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430\u0442\u0438\u0441\u043a\u0430\u043d\u0435 \u043d\u0430 \u0431\u0443\u0442\u043e\u043d) \u0438 \u0442\u0435 \u0441\u0435 \u0441\u043b\u0443\u0447\u0432\u0430\u0442 \u0432\u044a\u0442\u0440\u0435 \u0432 <em>Angular<\/em> \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u0442\u043e \u0438 \u043d\u044f\u043c\u0430 \u0434\u0430 \u0441\u0435 \u043e\u0442\u0440\u0430\u0437\u044f\u0442 \u043d\u0430 \u0434\u0430\u043d\u043d\u0438\u0442\u0435 \u0432 <em>Google Analytics<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/global.bg\/en\/wp-content\/uploads\/2019\/02\/image-2.png\" alt=\"\" class=\"wp-image-960\" width=\"834\" height=\"396\"\/><\/figure>\n\n\n\n<p>\u0422\u0435\u0437\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0438 \u0441\u0430 \u0434\u0435\u0442\u0430\u0439\u043b\u043d\u043e \u043e\u0431\u0441\u044a\u0434\u0435\u043d\u0438 \u0432 \u0441\u0430\u043c\u0430\u0442\u0430 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043d\u0430 <em>Google Analytics<\/em> \u043f\u043e\u0434 \u0442\u0435\u043c\u0430\u0442\u0430 \u0437\u0430 <a href=\"https:\/\/developers.google.com\/analytics\/devguides\/collection\/analyticsjs\/single-page-applications\">Single Page Application Tracking<\/a>.<\/p>\n\n\n\n<p>             3. \u0414\u0430 \u0441\u0435 \u0432\u044a\u0440\u043d\u0435\u043c \u043a\u044a\u043c \u0432\u044a\u043f\u0440\u043e\u0441\u0430 \u0441 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u043d\u0438\u044f download \u043d\u0430 JavaScript \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430. <strong>\u0418\u043c\u0430 \u0438 \u0442\u0440\u0435\u0442\u0438 \u0441\u043f\u043e\u0441\u043e\u0431<\/strong>, \u043a\u043e\u0438\u0442\u043e \u0438\u043c\u0435\u043d\u043e \u0449\u0435 \u0440\u0430\u0437\u0433\u043b\u0435\u0434\u0430\u043c. \u041f\u043e\u043d\u0435\u0436\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0435 \u0441 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 <em>Google Analytic<\/em>s &#8211; \u0449\u0435 \u0433\u043e \u0440\u0430\u0437\u0448\u0438\u0440\u044f \u0434\u0430 \u0441\u0435 \u043f\u043e\u043b\u0437\u0432\u0430 \u0438 \u0437\u0430 \u043f\u0440\u043e\u0441\u043b\u0435\u0434\u044f\u0432\u0430\u043d\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f\u0442\u0430 \u043d\u0430 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u0438\u0442\u0435 \u0432 <em>Angular<\/em> \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435.<\/p>\n\n\n\n<p><strong>NB<\/strong>: \u0429\u043e \u0441\u0435 \u043a\u0430\u0441\u0430\u0435 \u0434\u043e track-\u043d\u0435 \u043d\u0430 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u0438 \u0432 <em>Angular<\/em> \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0442\u043e \u0438\u043c\u0430 \u0447\u0443\u0434\u0435\u0441\u043d\u0438, \u0433\u043e\u0442\u043e\u0432\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u043a\u0430\u0442\u043e <a href=\"https:\/\/github.com\/angulartics\/angulartics2\">angulartics2<\/a>, \u043a\u043e\u0438\u0442\u043e \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435. \u0422\u0443\u043a \u0432\u044a\u043f\u0440\u043e\u0441\u0430 \u043d\u0435 \u0435 \u0434\u0430 \u0441\u044a\u0437\u0434\u0430\u0432\u0430\u043c \u043f\u043e\u0440\u0435\u0434\u043d\u0430\u0442\u0430 \u0442\u0430\u043a\u0430\u0432\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430, \u0430 \u0441 \u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u0430 \u043f\u043e\u043a\u0430\u0436\u0430 \u0432\u044a\u0437\u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0430 \u0434\u0432\u0430\u0442\u0430 \u0432\u044a\u043f\u0440\u043e\u0441\u0430 \u0437\u0430\u0434\u0430\u0434\u0435\u043d\u0438 \u0432 \u043d\u0430\u0447\u0430\u043b\u043e\u0442\u043e \u043d\u0430 \u0442\u043e\u0437\u0438 \u043f\u043e\u0441\u0442!<\/p>\n\n\n\n<p>\u0422\u0430, \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u043d\u0438\u044f download &#8211; \u0434\u0430 \u0432\u0438\u0434\u0438\u043c \u0438\u0437\u0432\u0430\u0434\u043a\u0430 \u043e\u0442 \u0441\u043b\u0435\u0434\u043d\u0438\u044f\n<em>Angular<\/em> \u0441\u0435\u0440\u0432\u0438\u0437:<\/p>\n\n\n<pre class=\"prettyprint\"><code class=\"language-ts\">\u2026\n\/\/ Typescript extention of Window interface\ndeclare global {\n  interface Window { ga: any; }\n}\n\n@Injectable({\n  providedIn: 'root'\n})\nexport class GoogleAnalyticsService {\n\n  \/\/ The source for the load\n  private googleAnalyticsScript = {\n    loaded: false,\n    url: 'https:\/\/www.google-analytics.com\/analytics.js'\n  };\n\n  constructor(@Inject(PLATFORM_ID) private platformId: Object,\n    @Inject(DOCUMENT) private dom: Document) {\n  }\n\u2026\n  \/\/ Init the GA infrastructure\n  public loadScript(): void {\n    \/\/ Check already loaded\n    if (!this.googleAnalyticsScript.loaded) {\n      \/\/ Check if we are at browser\n      if (isPlatformBrowser(this.platformId)) {\n        \/\/ Create new scipt element\n        const scriptElm: HTMLScriptElement = this.dom.createElement('script');\n        scriptElm.src = this.googleAnalyticsScript.url;\n        scriptElm.type = 'text\/javascript';\n        scriptElm.async = true;\n        scriptElm.onload = () =&gt; {\n          \/\/ Prevent from load second time\n          this.googleAnalyticsScript.loaded = true;\n        };\n\n        \/\/ Define GA object\n        window.ga = window.ga || function () { (window.ga.q = window.ga.q || []).push(arguments); };\n        window.ga.l = +new Date;\n\n        \/\/ Set some Google Analytics stuff\n        window.ga('create', environment.propertyID, 'auto');\n\n        \/\/ Add to document\n        this.dom.body.appendChild(scriptElm);\n      }\n    }\n  }\n}\n<\/code><\/pre>\n\n\n<p>\u041f\u043e \u0441\u044a\u0449\u0435\u0441\u0442\u0432\u043e \u0442\u043e\u0432\u0430 \u0435 \u043f\u0440\u0435\u043f\u0438\u0441\u0432\u0430\u043d\u0435 \u043d\u0430 <em>TypeScript<\/em>, \u043d\u0430 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u0442\u0430 \u043e\u0442 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0442\u0430 \u043d\u0430 <em>Google Analytics<\/em>, \u043a\u043e\u044f\u0442\u043e \u044f \u0438\u043c\u0430 \u043c\u0430\u043b\u043a\u043e \u043f\u043e-\u0433\u043e\u0440\u0435 \u0432 \u043f\u043e\u0441\u0442\u0430. \u041f\u043e \u0432\u0430\u0436\u043d\u0438\u0442\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u0438 \u0441\u0430:<\/p>\n\n\n\n<ul><li><em>\u0421\u044a\u0432\u0441\u0435\u043c \u0432 \u043d\u0430\u0447\u0430\u043b\u043e\u0442\u043e \u0441\u0435 \u0440\u0430\u0437\u0448\u0438\u0440\u044f\u0432\u0430 TypeScript<\/em> <strong><em>Window<\/em><\/strong> \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0441 \u043d\u043e\u0432\u043e \u043f\u043e\u043b\u0435 &#8211; \u201aga\u2018<\/li><li>\u0412 \u043c\u0435\u0442\u043e\u0434\u0430 \u201a<em>loadScript<\/em>\u2018 \u0441\u0435 \u0438\u0437\u0432\u044a\u0440\u0448\u0432\u0430 \u0441\u044a\u0449\u0438\u043d\u0441\u043a\u0430\u0442\u0430 \u0440\u0430\u0431\u043e\u0442\u0430:<ul><li>\u0421\u044a\u0437\u0434\u0430\u0432\u0430 \u0441\u0435 \u0441\u043a\u0440\u0438\u043f\u0442 \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0430 <em>scriptElm<\/em> \u0438 \u0441\u0435 \u0434\u043e\u0431\u0430\u0432\u044f \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u043d\u043e \u043a\u044a\u043c DOM-\u0430 \u043d\u0430 web \u0441\u0442\u0440\u0430\u043d\u0446\u0438\u0442\u0430. \u0422\u043e\u0432\u0430 \u0435 \u0441\u044a\u0449\u043e\u0442\u043e \u043a\u0430\u0442\u043e \u0434\u0430 \u0441\u0435 \u043f\u043e\u0441\u0442\u0430\u0432\u0438<\/li><\/ul><\/li><\/ul>\n\n\n<pre class=\"prettyprint\"><code class=\"language-html\">&lt;script async src='https:\/\/www.google-analytics.com\/analytics.js'&gt;&lt;\/script&gt;<\/code><\/pre>\n\n\n<p>\u0432 <em>index.html-\u043b\u0430<\/em>.<\/p>\n\n\n\n<ul><li>\u0414\u0435\u0444\u0438\u043d\u0438\u0440\u0430 \u0441\u0435 \u043f\u043e\u043b\u0435\u0442\u043e \u201aga\u2018, \u0441 \u043a\u043e\u0435\u0442\u043e \u0435 \u0440\u0430\u0437\u0448\u0438\u0440\u0435\u043d <strong><em>Window<\/em><\/strong> \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430, \u043f\u043e \u043d\u0430\u0447\u0438\u043d\u0430 \u0443\u043a\u0430\u0437\u0430\u043d \u043d\u0438 \u043e\u0442 <em>Google Analytics. <\/em>\u0422\u043e\u0432\u0430 \u0435 \u0441\u044a\u0449\u043e\u0442\u043e \u043a\u0430\u0442\u043e \u0434\u0430 \u0441\u0435 \u043f\u043e\u0441\u0442\u0430\u0432\u0438<\/li><\/ul>\n\n\n<pre class=\"prettyprint\"><code class=\"language-html\">&lt;script&gt;\nwindow.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};\nga.l=+new Date;\nga('create', 'UA-XXXXX-Y', 'auto');\n&lt;\/script&gt;\n\n<\/code><\/pre>\n\n\n<p>\u0418 \u0433\u043e\u0442\u043e\u0432\u043e!<\/p>\n\n\n\n<p>\ud83d\ude0a \u0415, \u043d\u0435 \u0441\u044a\u0432\u0441\u0435\u043c\u2026 \u0432\u0441\u0435 \u043f\u0430\u043a \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0441\u0435 \u0438\u0437\u0432\u0438\u043a\u0430 \u043c\u0435\u0442\u043e\u0434\u0430 \u201a<em>loadScript<\/em>\u2018, \u043d\u044f\u043a\u044a\u0434\u0435 \u043e\u0442 <em>Angular<\/em> \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u0442\u043e, \u0437\u0430 \u0434\u0430 \u0441\u0435 \u0438\u0437\u043f\u044a\u043b\u043d\u0438 \u0438 \u0434\u0430 \u043d\u0430\u043a\u0430\u0440\u0430 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0434\u0430 \u0437\u0430\u043f\u043e\u0447\u043d\u0435 download-\u0430 \u043d\u0430 JavaScript \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u0442\u0430. \u0418 \u0442\u0443\u043a \u0441\u0442\u0438\u0433\u0430\u043c\u0435 \u0434\u043e \u0432\u0442\u043e\u0440\u0438\u044f \u0432\u044a\u043f\u0440\u043e\u0441:<\/p>\n\n\n\n<h2>\u201e\u0417\u0430\u043a\u0430\u0447\u0430\u043d\u0435\u201c \u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 Angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435<\/h2>\n\n\n\n<p>\u041d\u043e \u0442\u043e\u0437\u0438 \u043f\u043e\u0441\u0442 \u0441\u0442\u0430\u043d\u0430 \u043c\u0430\u043b\u043a\u043e \u0434\u044a\u043b\u044a\u0433. \u041c\u0430\u0439 \u0435 \u0432\u0440\u0435\u043c\u0435 \u0434\u0430 \u0437\u0430\u0432\u044a\u0440\u0448\u0430 \u0442\u0430\u0437\u0438 \u043f\u044a\u0440\u0432\u0430 \u0447\u0430\u0441\u0442. \u0417\u0430 \u201e\u0437\u0430\u043a\u0430\u0447\u0430\u043d\u0435\u0442\u043e\u201c \u043a\u044a\u043c \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 \u043d\u0430 Angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u0442\u043e, \u0449\u0435 \u043f\u0438\u0448\u0430 \u0432\u044a\u0432 \u0432\u0442\u043e\u0440\u0430\u0442\u0430 \u0447\u0430\u0441\u0442.<\/p>\n\n\n\n<p>\u0410\u0432\u0442\u043e\u0440: \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u044a\u0440 \u0413\u044c\u043e\u043d\u043e\u0432<\/p>\n\n\n\n<p><strong><em>\u041e\u0447\u0430\u043a\u0432\u0430\u0439\u0442\u0435&nbsp;\u0447\u0430\u0441\u0442&nbsp;2<\/em><\/strong><\/p>\n\n\n<p><script src=\"https:\/\/cdn.rawgit.com\/google\/code-prettify\/master\/loader\/run_prettify.js?skin=sons-of-obsidian\"><\/script><\/p>\n<p><!-- \/wp:paragraph --><\/p>","protected":false},"excerpt":{"rendered":"<p>\u041e\u0442 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e \u0432\u0440\u0435\u043c\u0435, \u0432 \u043f\u0440\u043e\u0444\u0435\u0441\u0438\u043e\u043d\u0430\u043b\u043d\u0430\u0442\u0430 \u0441\u0438 \u0440\u0430\u0431\u043e\u0442\u0430, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0432\u0430\u043c \u0441\u043e\u0444\u0442\u0443\u0435\u0440\u043d\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u043d\u0430 Angular. \u0412 \u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u043b\u0443\u0447\u0430\u044f \u0441\u044a\u043c \u0441\u0435 \u0441\u0431\u043b\u044a\u0441\u043a\u0432\u0430\u043b \u0441 \u0432\u044a\u043f\u0440\u043e\u0441\u0438 \u043a\u0430\u043a \u0435\u0434\u043d\u043e \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u043e \u043d\u0435\u0449\u043e \u0431\u0438 \u043c\u043e\u0433\u043b\u043e \u0434\u0430 \u0441\u0435 \u0441\u043b\u0443\u0447\u0438 \u0438 \u043d\u0435 \u0441\u044a\u043c \u043e\u0442\u043a\u0440\u0438\u0432\u0430\u043b \u0431\u044a\u0440\u0437 \u0438 \u0435\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u0435\u043d \u043e\u0442\u0433\u043e\u0432\u043e\u0440 \u0437\u0430 \u0441\u0435\u0431\u0435 \u0441\u0438. \u0412 \u0442\u043e\u0437\u0438 \u043f\u043e\u0441\u0442 \u0449\u0435 \u0434\u0438\u0441\u043a\u0443\u0442\u0438\u0440\u0430\u043c \u0434\u0432\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0438 \u043d\u0435\u0449\u0430 \u043e\u0442 \u0442\u043e\u0437\u0438 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440: \u041a\u0430\u043a \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u043d\u043e [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":926,"comment_status":"closed","ping_status":"closed","sticky":true,"template":"","format":"standard","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","inline_featured_image":false},"categories":[30],"tags":[51,53,54,55,50,38],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u041d\u0430\u0447\u0438\u043d \u0434\u0430 \u0441\u0435 \u201e\u0437\u0430\u043a\u0430\u0447\u0438\u0442\u0435\u201c \u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 Angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435! \u0427\u0430\u0441\u0442 I<\/title>\n<meta name=\"description\" content=\"Download \u043d\u0430 third-party JavaScript \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0438 \u043d\u0430\u0447\u0438\u043d \u0434\u0430 \u0441\u0435 \u201e\u0437\u0430\u043a\u0430\u0447\u0438\u0442\u0435\u201c \u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 Angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u041f\u0440\u0438\u043c\u0435\u0440 \u0441 Analytics.js. \u0427\u0430\u0441\u0442 \u043f\u044a\u0440\u0432\u0430.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/global.bg\/bg\/a-way-to-hook-to-the-initialization-of-the-angular-application-part-i\/\" \/>\n<meta property=\"og:locale\" content=\"bg_BG\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u041d\u0430\u0447\u0438\u043d \u0434\u0430 \u0441\u0435 \u201e\u0437\u0430\u043a\u0430\u0447\u0438\u0442\u0435\u201c \u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 Angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435! \u0427\u0430\u0441\u0442 I\" \/>\n<meta property=\"og:description\" content=\"Download \u043d\u0430 third-party JavaScript \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0438 \u043d\u0430\u0447\u0438\u043d \u0434\u0430 \u0441\u0435 \u201e\u0437\u0430\u043a\u0430\u0447\u0438\u0442\u0435\u201c \u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 Angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u041f\u0440\u0438\u043c\u0435\u0440 \u0441 Analytics.js. \u0427\u0430\u0441\u0442 \u043f\u044a\u0440\u0432\u0430.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/global.bg\/bg\/a-way-to-hook-to-the-initialization-of-the-angular-application-part-i\/\" \/>\n<meta property=\"og:site_name\" content=\"GLOBAL CONSULTING\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/global.bg\" \/>\n<meta property=\"article:published_time\" content=\"2019-02-07T12:47:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-02-07T13:46:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/global.bg\/bg\/wp-content\/uploads\/2019\/02\/maxresdefault-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u044a\u0440 \u0422\u043e\u043c\u043e\u0432\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u044a\u0440 \u0422\u043e\u043c\u043e\u0432\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u043c\u0438\u043d\u0443\u0442\u0438\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/global.bg\/bg\/a-way-to-hook-to-the-initialization-of-the-angular-application-part-i\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/global.bg\/bg\/a-way-to-hook-to-the-initialization-of-the-angular-application-part-i\/\"},\"author\":{\"name\":\"\u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u044a\u0440 \u0422\u043e\u043c\u043e\u0432\",\"@id\":\"https:\/\/global.bg\/bg\/#\/schema\/person\/a076dbd5f5c2f67c5720e14fe6973196\"},\"headline\":\"Download \u043d\u0430 third-party JavaScript \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0438 \u043d\u0430\u0447\u0438\u043d \u0434\u0430 \u0441\u0435 \u201e\u0437\u0430\u043a\u0430\u0447\u0438\u0442\u0435\u201c \u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 Angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u041f\u0440\u0438\u043c\u0435\u0440 \u0441 Analytics.js. \u0427\u0430\u0441\u0442 \u043f\u044a\u0440\u0432\u0430.\",\"datePublished\":\"2019-02-07T12:47:56+00:00\",\"dateModified\":\"2019-02-07T13:46:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/global.bg\/bg\/a-way-to-hook-to-the-initialization-of-the-angular-application-part-i\/\"},\"wordCount\":831,\"publisher\":{\"@id\":\"https:\/\/global.bg\/bg\/#organization\"},\"keywords\":[\"Analytics\",\"Angular\",\"JavaScript\",\"js\",\"\u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u044a\u0440 \u0413\u044c\u043e\u043d\u043e\u0432\",\"\u0447\u0430\u0441\u0442 1\"],\"articleSection\":[\"\u0421\u0442\u0430\u0442\u0438\u0438\"],\"inLanguage\":\"bg-BG\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/global.bg\/bg\/a-way-to-hook-to-the-initialization-of-the-angular-application-part-i\/\",\"url\":\"https:\/\/global.bg\/bg\/a-way-to-hook-to-the-initialization-of-the-angular-application-part-i\/\",\"name\":\"\u041d\u0430\u0447\u0438\u043d \u0434\u0430 \u0441\u0435 \u201e\u0437\u0430\u043a\u0430\u0447\u0438\u0442\u0435\u201c \u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 Angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435! \u0427\u0430\u0441\u0442 I\",\"isPartOf\":{\"@id\":\"https:\/\/global.bg\/bg\/#website\"},\"datePublished\":\"2019-02-07T12:47:56+00:00\",\"dateModified\":\"2019-02-07T13:46:39+00:00\",\"description\":\"Download \u043d\u0430 third-party JavaScript \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0438 \u043d\u0430\u0447\u0438\u043d \u0434\u0430 \u0441\u0435 \u201e\u0437\u0430\u043a\u0430\u0447\u0438\u0442\u0435\u201c \u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 Angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u041f\u0440\u0438\u043c\u0435\u0440 \u0441 Analytics.js. \u0427\u0430\u0441\u0442 \u043f\u044a\u0440\u0432\u0430.\",\"breadcrumb\":{\"@id\":\"https:\/\/global.bg\/bg\/a-way-to-hook-to-the-initialization-of-the-angular-application-part-i\/#breadcrumb\"},\"inLanguage\":\"bg-BG\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/global.bg\/bg\/a-way-to-hook-to-the-initialization-of-the-angular-application-part-i\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/global.bg\/bg\/a-way-to-hook-to-the-initialization-of-the-angular-application-part-i\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u041d\u0430\u0447\u0430\u043b\u043e\",\"item\":\"https:\/\/global.bg\/bg\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Download \u043d\u0430 third-party JavaScript \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0438 \u043d\u0430\u0447\u0438\u043d \u0434\u0430 \u0441\u0435 \u201e\u0437\u0430\u043a\u0430\u0447\u0438\u0442\u0435\u201c \u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 Angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u041f\u0440\u0438\u043c\u0435\u0440 \u0441 Analytics.js. \u0427\u0430\u0441\u0442 \u043f\u044a\u0440\u0432\u0430.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/global.bg\/bg\/#website\",\"url\":\"https:\/\/global.bg\/bg\/\",\"name\":\"GLOBAL CONSULTING\",\"description\":\"Make IT Global\",\"publisher\":{\"@id\":\"https:\/\/global.bg\/bg\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/global.bg\/bg\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"bg-BG\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/global.bg\/bg\/#organization\",\"name\":\"\u0413\u043b\u043e\u0431\u0430\u043b \u041a\u043e\u043d\u0441\u0443\u043b\u0442\u0438\u043d\u0433 \u041e\u041e\u0414\",\"url\":\"https:\/\/global.bg\/bg\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"bg-BG\",\"@id\":\"https:\/\/global.bg\/bg\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/global.bg\/bg\/wp-content\/uploads\/2017\/08\/GCPrimaryLogoHorizontalPositive.svg\",\"contentUrl\":\"https:\/\/global.bg\/bg\/wp-content\/uploads\/2017\/08\/GCPrimaryLogoHorizontalPositive.svg\",\"caption\":\"\u0413\u043b\u043e\u0431\u0430\u043b \u041a\u043e\u043d\u0441\u0443\u043b\u0442\u0438\u043d\u0433 \u041e\u041e\u0414\"},\"image\":{\"@id\":\"https:\/\/global.bg\/bg\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/global-consulting-ltd\/\",\"https:\/\/www.facebook.com\/global.bg\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/global.bg\/bg\/#\/schema\/person\/a076dbd5f5c2f67c5720e14fe6973196\",\"name\":\"\u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u044a\u0440 \u0422\u043e\u043c\u043e\u0432\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"bg-BG\",\"@id\":\"https:\/\/global.bg\/bg\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/dcefe2e0f629ed86ee7022824f7266b1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/dcefe2e0f629ed86ee7022824f7266b1?s=96&d=mm&r=g\",\"caption\":\"\u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u044a\u0440 \u0422\u043e\u043c\u043e\u0432\"},\"url\":\"https:\/\/global.bg\/bg\/author\/alext\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u041d\u0430\u0447\u0438\u043d \u0434\u0430 \u0441\u0435 \u201e\u0437\u0430\u043a\u0430\u0447\u0438\u0442\u0435\u201c \u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 Angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435! \u0427\u0430\u0441\u0442 I","description":"Download \u043d\u0430 third-party JavaScript \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0438 \u043d\u0430\u0447\u0438\u043d \u0434\u0430 \u0441\u0435 \u201e\u0437\u0430\u043a\u0430\u0447\u0438\u0442\u0435\u201c \u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 Angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u041f\u0440\u0438\u043c\u0435\u0440 \u0441 Analytics.js. \u0427\u0430\u0441\u0442 \u043f\u044a\u0440\u0432\u0430.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/global.bg\/bg\/a-way-to-hook-to-the-initialization-of-the-angular-application-part-i\/","og_locale":"bg_BG","og_type":"article","og_title":"\u041d\u0430\u0447\u0438\u043d \u0434\u0430 \u0441\u0435 \u201e\u0437\u0430\u043a\u0430\u0447\u0438\u0442\u0435\u201c \u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 Angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435! \u0427\u0430\u0441\u0442 I","og_description":"Download \u043d\u0430 third-party JavaScript \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0438 \u043d\u0430\u0447\u0438\u043d \u0434\u0430 \u0441\u0435 \u201e\u0437\u0430\u043a\u0430\u0447\u0438\u0442\u0435\u201c \u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 Angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u041f\u0440\u0438\u043c\u0435\u0440 \u0441 Analytics.js. \u0427\u0430\u0441\u0442 \u043f\u044a\u0440\u0432\u0430.","og_url":"https:\/\/global.bg\/bg\/a-way-to-hook-to-the-initialization-of-the-angular-application-part-i\/","og_site_name":"GLOBAL CONSULTING","article_publisher":"https:\/\/www.facebook.com\/global.bg","article_published_time":"2019-02-07T12:47:56+00:00","article_modified_time":"2019-02-07T13:46:39+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/global.bg\/bg\/wp-content\/uploads\/2019\/02\/maxresdefault-1.jpg","type":"image\/jpeg"}],"author":"\u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u044a\u0440 \u0422\u043e\u043c\u043e\u0432","twitter_card":"summary_large_image","twitter_misc":{"Written by":"\u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u044a\u0440 \u0422\u043e\u043c\u043e\u0432","Est. reading time":"2 \u043c\u0438\u043d\u0443\u0442\u0438"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/global.bg\/bg\/a-way-to-hook-to-the-initialization-of-the-angular-application-part-i\/#article","isPartOf":{"@id":"https:\/\/global.bg\/bg\/a-way-to-hook-to-the-initialization-of-the-angular-application-part-i\/"},"author":{"name":"\u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u044a\u0440 \u0422\u043e\u043c\u043e\u0432","@id":"https:\/\/global.bg\/bg\/#\/schema\/person\/a076dbd5f5c2f67c5720e14fe6973196"},"headline":"Download \u043d\u0430 third-party JavaScript \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0438 \u043d\u0430\u0447\u0438\u043d \u0434\u0430 \u0441\u0435 \u201e\u0437\u0430\u043a\u0430\u0447\u0438\u0442\u0435\u201c \u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 Angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u041f\u0440\u0438\u043c\u0435\u0440 \u0441 Analytics.js. \u0427\u0430\u0441\u0442 \u043f\u044a\u0440\u0432\u0430.","datePublished":"2019-02-07T12:47:56+00:00","dateModified":"2019-02-07T13:46:39+00:00","mainEntityOfPage":{"@id":"https:\/\/global.bg\/bg\/a-way-to-hook-to-the-initialization-of-the-angular-application-part-i\/"},"wordCount":831,"publisher":{"@id":"https:\/\/global.bg\/bg\/#organization"},"keywords":["Analytics","Angular","JavaScript","js","\u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u044a\u0440 \u0413\u044c\u043e\u043d\u043e\u0432","\u0447\u0430\u0441\u0442 1"],"articleSection":["\u0421\u0442\u0430\u0442\u0438\u0438"],"inLanguage":"bg-BG"},{"@type":"WebPage","@id":"https:\/\/global.bg\/bg\/a-way-to-hook-to-the-initialization-of-the-angular-application-part-i\/","url":"https:\/\/global.bg\/bg\/a-way-to-hook-to-the-initialization-of-the-angular-application-part-i\/","name":"\u041d\u0430\u0447\u0438\u043d \u0434\u0430 \u0441\u0435 \u201e\u0437\u0430\u043a\u0430\u0447\u0438\u0442\u0435\u201c \u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 Angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435! \u0427\u0430\u0441\u0442 I","isPartOf":{"@id":"https:\/\/global.bg\/bg\/#website"},"datePublished":"2019-02-07T12:47:56+00:00","dateModified":"2019-02-07T13:46:39+00:00","description":"Download \u043d\u0430 third-party JavaScript \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0438 \u043d\u0430\u0447\u0438\u043d \u0434\u0430 \u0441\u0435 \u201e\u0437\u0430\u043a\u0430\u0447\u0438\u0442\u0435\u201c \u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 Angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u041f\u0440\u0438\u043c\u0435\u0440 \u0441 Analytics.js. \u0427\u0430\u0441\u0442 \u043f\u044a\u0440\u0432\u0430.","breadcrumb":{"@id":"https:\/\/global.bg\/bg\/a-way-to-hook-to-the-initialization-of-the-angular-application-part-i\/#breadcrumb"},"inLanguage":"bg-BG","potentialAction":[{"@type":"ReadAction","target":["https:\/\/global.bg\/bg\/a-way-to-hook-to-the-initialization-of-the-angular-application-part-i\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/global.bg\/bg\/a-way-to-hook-to-the-initialization-of-the-angular-application-part-i\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u041d\u0430\u0447\u0430\u043b\u043e","item":"https:\/\/global.bg\/bg\/"},{"@type":"ListItem","position":2,"name":"Download \u043d\u0430 third-party JavaScript \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0438 \u043d\u0430\u0447\u0438\u043d \u0434\u0430 \u0441\u0435 \u201e\u0437\u0430\u043a\u0430\u0447\u0438\u0442\u0435\u201c \u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 Angular \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u041f\u0440\u0438\u043c\u0435\u0440 \u0441 Analytics.js. \u0427\u0430\u0441\u0442 \u043f\u044a\u0440\u0432\u0430."}]},{"@type":"WebSite","@id":"https:\/\/global.bg\/bg\/#website","url":"https:\/\/global.bg\/bg\/","name":"GLOBAL CONSULTING","description":"Make IT Global","publisher":{"@id":"https:\/\/global.bg\/bg\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/global.bg\/bg\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"bg-BG"},{"@type":"Organization","@id":"https:\/\/global.bg\/bg\/#organization","name":"\u0413\u043b\u043e\u0431\u0430\u043b \u041a\u043e\u043d\u0441\u0443\u043b\u0442\u0438\u043d\u0433 \u041e\u041e\u0414","url":"https:\/\/global.bg\/bg\/","logo":{"@type":"ImageObject","inLanguage":"bg-BG","@id":"https:\/\/global.bg\/bg\/#\/schema\/logo\/image\/","url":"https:\/\/global.bg\/bg\/wp-content\/uploads\/2017\/08\/GCPrimaryLogoHorizontalPositive.svg","contentUrl":"https:\/\/global.bg\/bg\/wp-content\/uploads\/2017\/08\/GCPrimaryLogoHorizontalPositive.svg","caption":"\u0413\u043b\u043e\u0431\u0430\u043b \u041a\u043e\u043d\u0441\u0443\u043b\u0442\u0438\u043d\u0433 \u041e\u041e\u0414"},"image":{"@id":"https:\/\/global.bg\/bg\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/global-consulting-ltd\/","https:\/\/www.facebook.com\/global.bg"]},{"@type":"Person","@id":"https:\/\/global.bg\/bg\/#\/schema\/person\/a076dbd5f5c2f67c5720e14fe6973196","name":"\u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u044a\u0440 \u0422\u043e\u043c\u043e\u0432","image":{"@type":"ImageObject","inLanguage":"bg-BG","@id":"https:\/\/global.bg\/bg\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/dcefe2e0f629ed86ee7022824f7266b1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/dcefe2e0f629ed86ee7022824f7266b1?s=96&d=mm&r=g","caption":"\u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u044a\u0440 \u0422\u043e\u043c\u043e\u0432"},"url":"https:\/\/global.bg\/bg\/author\/alext\/"}]}},"_links":{"self":[{"href":"https:\/\/global.bg\/bg\/wp-json\/wp\/v2\/posts\/923"}],"collection":[{"href":"https:\/\/global.bg\/bg\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/global.bg\/bg\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/global.bg\/bg\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/global.bg\/bg\/wp-json\/wp\/v2\/comments?post=923"}],"version-history":[{"count":5,"href":"https:\/\/global.bg\/bg\/wp-json\/wp\/v2\/posts\/923\/revisions"}],"predecessor-version":[{"id":932,"href":"https:\/\/global.bg\/bg\/wp-json\/wp\/v2\/posts\/923\/revisions\/932"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/global.bg\/bg\/wp-json\/wp\/v2\/media\/926"}],"wp:attachment":[{"href":"https:\/\/global.bg\/bg\/wp-json\/wp\/v2\/media?parent=923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/global.bg\/bg\/wp-json\/wp\/v2\/categories?post=923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/global.bg\/bg\/wp-json\/wp\/v2\/tags?post=923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}