{"id":253364,"date":"2015-03-19T01:48:02","date_gmt":"2015-03-18T21:48:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=253364"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=253364","title":{"rendered":"Angular 2.0.0-alpha \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043d\u0435 \u0432 \u0441\u0438\u043b\u0430\u0445 \u0436\u0434\u0430\u0442\u044c"},"content":{"rendered":"<p>     \t<img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/1b4\/fd4\/cfc\/1b4fd4cfc96f40fe8c84f8354575383f.png\" align=\"left\"\/><br \/>  \u0421\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0434\u0430\u0432\u043d\u043e(5-6 \u043c\u0430\u0440\u0442\u0430) \u043f\u0440\u043e\u0448\u043b\u0430 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f <a href=\"http:\/\/www.ng-conf.org\">ng-conf<\/a>, \u0438 \u043c\u043d\u043e\u0433\u043e \u0434\u043e\u043a\u043b\u0430\u0434\u043e\u0432 \u043d\u0430 \u043d\u0435\u0439 \u0431\u044b\u043b\u043e \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u043e \u0433\u0440\u044f\u0434\u0443\u0449\u0435\u043c\u0443 \u0440\u0435\u043b\u0438\u0437\u0443 Angular 2, \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0438\u0437 \u043d\u0438\u0445 \u0434\u0430\u0436\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438 \u0430\u043b\u044c\u0444\u0430 \u0432\u0435\u0440\u0441\u0438\u044e. \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435 \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u043d\u0438\u044f \u043e\u0447\u0435\u043d\u044c \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u043b\u0438\u0447\u043d\u043e. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0442\u043e\u0436\u0435 \u043d\u0435 \u0442\u0435\u0440\u043f\u0438\u0442\u0441\u044f \u2014 \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442. <\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0440\u0430\u0437\u0431\u0435\u0440\u0451\u043c\u0441\u044f, \u0433\u0434\u0435 \u0432\u0437\u044f\u0442\u044c \u0431\u0438\u043b\u0434 \u0430\u043b\u044c\u0444\u0430 \u0432\u0435\u0440\u0441\u0438\u0438 Angular 2.0, \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043d\u0430 \u043d\u0451\u043c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u2014 To-do list, \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u0435\u0433\u043e \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0431\u0435\u0437 \u043f\u043e\u043b\u043d\u043e\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 ECMAScript 6. <br \/>  <a name=\"habracut\"><\/a><br \/>  Angular 2 \u043e\u0447\u0435\u043d\u044c \u0441\u0438\u043b\u044c\u043d\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043d\u044b\u043d\u0435\u0448\u043d\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438, \u043f\u0435\u0440\u0435\u043e\u0441\u043c\u044b\u0441\u043b\u0435\u043d\u043e \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0441\u0451. \u041c\u043d\u043e\u0433\u0438\u0435 \u0438\u0437 \u043e\u0442\u043b\u0438\u0447\u0438\u0439 \u0432\u044b\u0442\u0435\u043a\u0430\u044e\u0442 \u0438\u0437 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043e\u043d \u043d\u0430 \u0432\u0441\u044e \u043a\u0430\u0442\u0443\u0448\u043a\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 ES6 \u0441 \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044f\u043c\u0438 \u0438 \u0442\u0438\u043f\u0430\u043c\u0438, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u044d\u0442\u043e\u0442 \u044f\u0437\u044b\u043a AtScript. \u0422\u0435\u043f\u0435\u0440\u044c \u0436\u0435, \u0441\u0443\u0434\u044f \u043f\u043e \u0432\u0441\u0435\u043c\u0443, \u043a\u043e\u043c\u0430\u043d\u0434\u0430 Angular \u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043b\u043e\u0442\u043d\u043e \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u0447\u0430\u0442\u044c \u0441 Microsoft \u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u0435\u0441\u0442\u0438\u0441\u044c \u043d\u0430 <a href=\"http:\/\/www.typescriptlang.org\/\">TypeScript<\/a>, \u0438 \u043f\u043e\u0441\u043b\u0435 \u0432\u044b\u0445\u043e\u0434\u0430 \u0435\u0433\u043e \u0432\u0435\u0440\u0441\u0438\u0438 1.5, \u0442\u0443\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0432\u043a\u043b\u044e\u0447\u0435\u043d AtScript.<\/p>\n<p>  \u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 Angular 2 \u0442\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u0437 \u0441\u0435\u0431\u044f \u0438\u0445 \u0434\u0435\u0440\u0435\u0432\u043e. \u0418\u0434\u0435\u044f \u043f\u043e\u0445\u043e\u0436\u0430 \u043d\u0430 <a href=\"http:\/\/habrahabr.ru\/post\/210058\/\">Web-components<\/a>, \u0434\u0430\u0436\u0435 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0430 Angular 2 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u043f\u043e\u043c\u0435\u0449\u0430\u0435\u0442\u0441\u044f \u0432 Shadow DOM. \u041f\u0440\u0438\u0447\u0451\u043c \u0435\u0441\u043b\u0438 \u0432\u044b \u0441\u043e\u0431\u0435\u0440\u0451\u0442\u0435\u0441\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u0441\u0432\u043e\u0451\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 Web-components, \u0438\u043b\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <a href=\"https:\/\/www.polymer-project.org\/\">Polymer<\/a> \u2013 \u0442\u043e \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u043d\u0438\u0447\u0435\u043c \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u0430\u0448\u0438\u0445 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 Angular 2 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432. \u0421\u0430\u043c\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0438\u0437 \u0441\u0435\u0431\u044f ES6 \u043a\u043b\u0430\u0441\u0441\u044b \u0441 \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044f\u043c\u0438, \u043d\u0438\u043a\u0430\u043a\u043e\u0433\u043e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430 \u043a\u0430\u043a, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432 \u0432 \u0432\u0435\u0440\u0441\u0438\u0438 1.\u0445 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f. \u0421\u0435\u0440\u0432\u0438\u0441\u044b \u0442\u0435\u043f\u0435\u0440\u044c \u0442\u043e\u0436\u0435 \u0441\u0442\u0430\u043b\u0438 \u043e\u0431\u044b\u0447\u043d\u044b\u043c\u0438 \u043a\u043b\u0430\u0441\u0441\u0430\u043c\u0438, \u0430 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0435 \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 AtScript, \u0438\u043d\u044a\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u043f\u043e \u0442\u0438\u043f\u0443, \u0431\u0435\u0437 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430 .$inject \u0438\u043b\u0438 ngAnnotate. <\/p>\n<p>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0441\u0435\u0439\u0447\u0430\u0441 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u0430\u0448\u0435 \u043f\u0435\u0440\u0432\u043e\u0435 To-do \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438 \u043f\u043e \u0445\u043e\u0434\u0443 \u0434\u0435\u043b\u0430 \u0440\u0430\u0437\u0431\u0435\u0440\u0451\u043c\u0441\u044f, \u0447\u0442\u043e \u0434\u0430 \u043a\u0430\u043a. <\/p>\n<p>  \u041d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u043d\u0438 \u043e\u0434\u0438\u043d \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0432\u0435\u0441\u044c \u0442\u043e\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0443\u0436\u0435\u043d Angular 2 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0446\u0435\u043b\u044b\u0439 \u0432\u043e\u0440\u043e\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432:   <\/p>\n<ul>\n<li><a href=\"https:\/\/www.npmjs.com\/package\/rtts-assert\">rtts-assert <\/a><\/li>\n<li><a href=\"https:\/\/github.com\/paulmillr\/es6-shim\/\">es6-shim<\/a> <\/li>\n<li><a href=\"https:\/\/github.com\/systemjs\/systemjs\">System.js<\/a> <\/li>\n<li><a href=\"https:\/\/github.com\/btford\/zone.js\/\">Zone.js <\/a><\/li>\n<li><a href=\"https:\/\/github.com\/google\/traceur-compiler\">Traceur<\/a> \u0441 \u043e\u043f\u0446\u0438\u044f\u043c\u0438 \u0434\u043b\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u0439<\/li>\n<\/ul>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0432\u0441\u0435\u043c \u0436\u0435\u043b\u0430\u044e\u0449\u0438\u043c \u043f\u043e\u0449\u0443\u043f\u0430\u0442\u044c \u0430\u043b\u044c\u0444\u0443 \u043d\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u043e \u0432\u0441\u0451 \u043f\u043e-\u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0441\u043e\u0431\u0440\u0430\u043b\u0438 quick start. \u0415\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0430\u0431\u0440\u0430\u0432 \u0432 \u043f\u0430\u043f\u043a\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430   <\/p>\n<pre><code class=\"bash\">git clone https:\/\/github.com\/angular\/quickstart.git  <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u043b\u0435\u0436\u0438\u0442 \u0443 \u043d\u0430\u0441 \u0432 \u043f\u0430\u043f\u043a\u0435 quickstart, \u0430 \u0434\u043b\u044f \u043a\u0440\u0430\u0441\u043e\u0442\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0435\u0449\u0451 <a href=\"https:\/\/github.com\/angular\/material\">angular-material<\/a>, \u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u0437 \u043d\u0435\u0433\u043e \u0431\u0443\u0434\u0435\u043c, \u0440\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f, \u0442\u043e\u043b\u044c\u043a\u043e css   <\/p>\n<pre><code class=\"bash\">bower install angular-material  <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0444\u0430\u0439\u043b index.html   <\/p>\n<pre><code class=\"html\">&lt;!DOCTYPE html&gt; &lt;html xmlns=&quot;http:\/\/www.w3.org\/1999\/xhtml&quot;&gt; &lt;head&gt;     &lt;title&gt;To Do&lt;\/title&gt;     &lt;script src=&quot;\/quickstart\/dist\/es6-shim.js&quot;&gt;&lt;\/script&gt;     &lt;link href=&quot;bower_components\/angular-material\/angular-material.css&quot; rel=&quot;stylesheet&quot; \/&gt; &lt;\/head&gt; &lt;body layout=&quot;row&quot;&gt;     &lt;style&gt;         md-progress-circular.md-default-theme.blue .md-inner .md-right .md-half-circle {             border-right-color: #039be5;         }          md-progress-circular.md-default-theme.blue .md-inner .md-left .md-half-circle, md-progress-circular.md-default-theme .md-inner .md-right .md-half-circle {             border-top-color: #039be5;         }          md-progress-circular.md-default-theme.blue .md-inner .md-left .md-half-circle {             border-left-color: #039be5;         }          md-progress-circular.md-default-theme.blue .md-inner .md-gap {             border-top-color: #039be5;             border-bottom-color: #039be5;         }     &lt;\/style&gt;     &lt;app flex layout=&quot;row&quot; layout-fill&gt;         &lt;div layout-fill layout=&quot;row&quot; layout-align=&quot;center center&quot; layout-margin&gt;             &lt;md-progress-circular md-mode=&quot;indeterminate&quot; class=&quot;md-default-theme blue&quot; style=&quot;-webkit-transform: scale(1);&quot;&gt;                 &lt;div class=&quot;md-spinner-wrapper&quot;&gt;                     &lt;div class=&quot;md-inner&quot;&gt;                         &lt;div class=&quot;md-gap&quot;&gt;                         &lt;\/div&gt;                         &lt;div class=&quot;md-left&quot;&gt;                             &lt;div class=&quot;md-half-circle&quot;&gt;&lt;\/div&gt;                         &lt;\/div&gt;                         &lt;div class=&quot;md-right&quot;&gt;                             &lt;div class=&quot;md-half-circle&quot;&gt;&lt;\/div&gt;                         &lt;\/div&gt;                     &lt;\/div&gt;                 &lt;\/div&gt;             &lt;\/md-progress-circular&gt;             &lt;h4&gt;                 &nbsp;&nbsp;&nbsp; To do app is loading...             &lt;\/h4&gt;         &lt;\/div&gt;     &lt;\/app&gt;     &lt;script&gt;         System.paths = {             'angular2\/*': 'quickstart\/angular2\/*.js',             'rtts_assert\/*': 'quickstart\/rtts_assert\/*.js',             'app\/*': 'app\/*.js'         };         System.import('app\/App');     &lt;\/script&gt; &lt;\/body&gt; &lt;\/html&gt; <\/code><\/pre>\n<p>  \u0417\u0434\u0435\u0441\u044c \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0442\u0440\u0438 \u043c\u043e\u043c\u0435\u043d\u0442\u0430: <br \/>  \u041f\u0440\u0435\u0436\u0434\u0435 \u0432\u0441\u0435\u0433\u043e \u043c\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043b\u0438 \u0444\u0430\u0439\u043b es6-shim, \u0432 \u043d\u0435\u043c \u0437\u0430\u0431\u043e\u0442\u043b\u0438\u0432\u043e \u0441\u043e\u0431\u0440\u0430\u043d\u043e \u0432\u0441\u0451 \u0432\u044b\u0448\u0435\u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u043e\u0435, \u0447\u0442\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. <br \/>  \u0414\u0430\u043b\u0435\u0435 \u043e\u0431\u0440\u0430\u0442\u0438\u043c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 app. \u042d\u0442\u043e \u0438 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0448 \u0433\u043b\u0430\u0432\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0421\u0435\u0439\u0447\u0430\u0441 \u0432 \u043d\u0435\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0430 \u0441\u043e \u0441\u043f\u0438\u043d\u043d\u0435\u0440\u043e\u043c \u0438 \u043d\u0430\u0434\u043f\u0438\u0441\u044c\u044e To do app is loading\u2026 \u043e\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u043a\u0430 \u0430\u043d\u0433\u0443\u043b\u044f\u0440 \u043d\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442 \u043a\u043b\u0430\u0441\u0441 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u0438 \u043d\u0435 \u0437\u0430\u043c\u0435\u043d\u0438\u0442 \u044d\u0442\u0443 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0443 \u043d\u0430 \u0435\u0433\u043e template. <br \/>  \u0412 \u0441\u0430\u043c\u043e\u043c \u043d\u0438\u0437\u0443 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 system.js, \u043e\u043d\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u0442 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 ES6. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 System.paths \u043c\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u0438 \u043f\u0443\u0442\u0438 \u043a .js \u0444\u0430\u0439\u043b\u0430\u043c, \u0437\u0430\u0442\u0435\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e System.import \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b\u0438 \u0444\u0430\u0439\u043b \u0441 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u043c app, \u0430 \u043e\u043d, \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u0443\u0436\u0435 \u0438 \u043f\u043e\u0442\u044f\u043d\u0435\u0442 \u0437\u0430 \u0441\u043e\u0431\u043e\u0439 \u0432\u0441\u0435 \u043d\u0443\u0436\u043d\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b. <\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0430\u043f\u043a\u0443 app \u0438 \u043f\u043e\u043b\u043e\u0436\u0438\u043c \u0432 \u043d\u0435\u0451 \u0444\u0430\u0439\u043b App.js   <\/p>\n<pre><code class=\"javascript\">import {Component, Template, bootstrap, Foreach} from 'angular2\/angular2'; import {TodoStore} from 'app\/TodoStore'; import {ItemEditor} from 'app\/ItemEditor';  @Component({     selector: 'app',     componentServices: [ \t  TodoStore     ] }) @Template({     url: 'app\/todo.html',     directives: [Foreach, ItemEditor] }) class App {     constructor(store:TodoStore) {         this.store=store;     } }  bootstrap(App); <\/code><\/pre>\n<p>  \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043c\u044b \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u043a\u043b\u0430\u0441\u0441\u044b Component, Template, Foreach \u0438\u0437 angular2.js, \u043e\u0442\u0442\u0443\u0434\u0430 \u0436\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e bootstrap, \u0443\u0436\u0435 \u0437\u043d\u0430\u043a\u043e\u043c\u0443\u044e \u0442\u0435\u043c, \u043a\u0442\u043e \u0432 \u0432\u0435\u0440\u0441\u0438\u0438 1.x \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u0443 ng-app, \u043e\u043d\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u0433\u043b\u0430\u0432\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0441\u043b\u0435\u0434\u043e\u043c \u043c\u044b \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u043a\u043b\u0430\u0441\u0441\u044b TodoStore \u0438\u0437 app\/todoStore.js (\u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0441\u0435\u0440\u0432\u0438\u0441, \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0439 \u0437\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0437\u0430\u0434\u0430\u0447 \u0438 \u0435\u0433\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0432 localStorage \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430) \u0438 ItemEditor \u0438\u0437 app\/item-editor.js (\u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u2014 \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u0430, \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0449\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441\u043f\u0438\u0441\u043a\u0430). \u041c\u044b \u0438\u0445 \u043f\u043e\u043a\u0430 \u043d\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0438\u0445 \u043f\u043e\u0437\u0436\u0435. <br \/>  \u0414\u0430\u043b\u0435\u0435 \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u043a\u043b\u0430\u0441\u0441 App, \u0435\u043c\u0443 \u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0438\u043d\u044a\u0435\u043a\u0442\u043e\u0440\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f \u043e\u0431\u044a\u0435\u043a\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 TodoStore, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u043c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0443 store. <\/p>\n<p>  \u041f\u0440\u0438 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0438 \u043a\u043b\u0430\u0441\u0441\u0430 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u0438 Component \u0438 Template \u0438\u0437 angular2.js: <br \/>  Component \u2013 \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438 \u0434\u0435\u043b\u0430\u0435\u0442 \u043a\u043b\u0430\u0441\u0441 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u043c. \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e selector \u2014 \u044d\u0442\u043e \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0432 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u0430, \u0443 \u043d\u0430\u0441 \u044d\u0442\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442 app. \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e componentServices \u2013 \u044d\u0442\u043e \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0434\u043b\u044f \u0438\u043d\u044a\u0435\u043a\u0442\u043e\u0440\u0430. <br \/>  Template \u2013 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u0448\u0430\u0431\u043b\u043e\u043d. \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e url \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043f\u0443\u0442\u044c, \u0433\u0434\u0435 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0448\u0430\u0431\u043b\u043e\u043d, \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e directives \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0432 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0435 \u044d\u0442\u043e\u0433\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0430. <br \/>  \u0412 \u043a\u043e\u043d\u0446\u0435 \u0444\u0430\u0439\u043b\u0430 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e bootstrap, \u0447\u0442\u043e\u0431\u044b \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0448 \u0433\u043b\u0430\u0432\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442. <\/p>\n<p>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0442\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0444\u0430\u0439\u043b app\/TodoStore.js   <\/p>\n<pre><code class=\"javascript\">export class TodoStore {     constructor() {         this.load();     }     save() {         window.localStorage['todoItems']=JSON.stringify(this.items);     }     addItem(name, checked) {         this.items.push(new Item(name,checked));     }     clear() {         this.items.length=0;     }     load() {         this.items=[];         let that=this;         let itemsStr=window.localStorage['todoItems'];         if(itemsStr) {             JSON.parse(itemsStr).forEach((e) =&gt; {                 that.addItem(e.name, e.checked);             });         }     } }   class Item {     constructor (name, checked){         this.name = name;         this.checked=checked || false;     }     toggleCheck() {         this.checked=!this.checked;     } } <\/code><\/pre>\n<p>  \u0423 \u043a\u043b\u0430\u0441\u0441\u0430 TodoStore \u0435\u0441\u0442\u044c \u043c\u0435\u0442\u043e\u0434\u044b save(), load(), clear(), \u0438 addItem(name, checked). <br \/>  \u0421\u0430\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u0437\u0430\u0434\u0430\u0447 \u0431\u0443\u0434\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0435 items. \u041c\u0435\u0442\u043e\u0434 save() \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 items \u0432 localStorage. \u041c\u0435\u0442\u043e\u0434 clear() \u043e\u0447\u0438\u0449\u0430\u0435\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e items. \u041c\u0435\u0442\u043e\u0434 load() \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u0438\u0437 localStorage \u0432\u0441\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0441\u043f\u0438\u0441\u043a\u0430 \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u0445 \u0432 items \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0435\u0442\u043e\u0434\u0430 addItem. \u041c\u0435\u0442\u043e\u0434 addItem(name, checked) \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0438\u043c\u044f \u043f\u0443\u043d\u043a\u0442\u0430 \u0441\u043f\u0438\u0441\u043a\u0430, \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u043d\u043e\u0432\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 Item \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0435\u0433\u043e \u0432 Items. <\/p>\n<p>  \u0421\u043b\u0435\u0434\u043e\u043c \u0438\u0434\u0451\u0442 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u043b\u0430\u0441\u0441\u0430 Item, \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 name \u2014 \u0438\u043c\u044f \u043f\u0443\u043d\u043a\u0442\u0430 \u0441\u043f\u0438\u0441\u043a\u0430 \u0438 checked \u2014 \u043e\u0442\u043c\u0435\u0447\u0435\u043d \u043b\u0438 \u043e\u043d \u043a\u0430\u043a \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u044b\u0439. \u0415\u0449\u0451 \u0443 \u043a\u043b\u0430\u0441\u0441\u0430 \u0435\u0441\u0442\u044c \u043c\u0435\u0442\u043e\u0434 toggleCheck(), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u0435\u043d\u044f\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 checked \u043d\u0430 \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u043f\u043e\u043b\u043e\u0436\u043d\u043e\u0435. <\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u0444\u0430\u0439\u043b app\/todo.html \u0441 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u043c \u0433\u043b\u0430\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430   <\/p>\n<pre><code class=\"html\">&lt;style&gt;     @import &quot;..\/bower_components\/angular-material\/angular-material.css&quot;;      .md-primary {         background-color: #039be5;         color: white;     }      md-toolbar {         background-color: #CFD8DC;     }      md-input-container {         padding-bottom: 0;     } &lt;\/style&gt; &lt;div flex layout=&quot;column&quot; layout-fill layout-margin&gt;     &lt;md-toolbar class=&quot;md-primary&quot;&gt;         &lt;h2 class=&quot;md-toolbar-tools&quot;&gt;             &lt;span&gt;To do list&lt;\/span&gt;         &lt;\/h2&gt;     &lt;\/md-toolbar&gt;     &lt;md-content layout=&quot;row&quot; layout-align=&quot;center start&quot; flex&gt;         &lt;div flex=&quot;50&quot; flex-md=&quot;80&quot; flex-sm=&quot;100&quot;&gt;             &lt;div layout=&quot;row&quot; layout-margin flex&gt;                 &lt;button flex class=&quot;md-button md-primary md-raised md-default-theme&quot; (click)=&quot;store.save()&quot;&gt;Save&lt;\/button&gt;                 &lt;button flex class=&quot;md-button md-primary md-raised md-default-theme&quot; (click)=&quot;store.load()&quot;&gt;Load&lt;\/button&gt;                 &lt;button flex class=&quot;md-button md-primary md-raised md-default-theme&quot; (click)=&quot;store.clear()&quot;&gt;Clear&lt;\/button&gt;             &lt;\/div&gt;             &lt;div layout=&quot;row&quot; layout-margin flex&gt;                 &lt;md-input-container class=&quot;md-input-has-value&quot; flex=&quot;60&quot;&gt;                     &lt;input #newitem class=&quot;md-input&quot; placeholder=&quot;New to do item&quot; \/&gt;                 &lt;\/md-input-container&gt;                 &lt;button flex class=&quot;md-button md-primary md-raised md-default-theme&quot; (click)=&quot;store.addItem(newitem.value)&quot;&gt;Add new item&lt;\/button&gt;             &lt;\/div&gt;             &lt;md-list&gt;                 &lt;md-item *foreach=&quot;#item in store.items&quot;&gt;                     &lt;md-item-content&gt;                         &lt;item-editor [item]=&quot;item&quot;&gt;&lt;\/item-editor&gt;                     &lt;\/md-item-content&gt;                 &lt;\/md-item&gt;             &lt;\/md-list&gt;         &lt;\/div&gt;     &lt;\/md-content&gt; &lt;\/div&gt; <\/code><\/pre>\n<p>  \u0417\u0434\u0435\u0441\u044c \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0442\u0440\u0438 \u043a\u043d\u043e\u043f\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u044e\u0442 \u043c\u0435\u0442\u043e\u0434\u044b \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 store.save(), store.load() \u0438 store.clear(). \u041c\u044b \u043f\u0440\u0438\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u043c\u0441\u044f \u043a \u0441\u043e\u0431\u044b\u0442\u0438\u044e click \u043a\u0430\u0436\u0434\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430 (click). \u0412 \u043d\u044b\u043d\u0435\u0448\u043d\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0430\u043d\u0433\u0443\u043b\u044f\u0440\u0430 \u043f\u043e\u0440\u043e\u0439 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0442\u0440\u0443\u0434\u043d\u043e \u0441 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0432\u0437\u0433\u043b\u044f\u0434\u0430 \u043e\u0442\u043b\u0438\u0447\u0438\u0442\u044c \u0432 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0435, \u043a\u0430\u043a\u043e\u0439 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0438 \u043a \u0441\u043e\u0431\u044b\u0442\u0438\u044e, \u0430 \u043a\u0430\u043a\u043e\u0439 \u0434\u043b\u044f \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445, \u0442\u0435\u043f\u0435\u0440\u044c \u0436\u0435 \u0432\u0441\u0451 \u0431\u0443\u0434\u0435\u0442 \u0432\u0438\u0434\u043d\u043e \u0441\u0440\u0430\u0437\u0443, \u043a\u0440\u0443\u0433\u043b\u044b\u0435 \u0441\u043a\u043e\u0431\u043a\u0438 () \u043d\u0443\u0436\u043d\u044b, \u0447\u0442\u043e\u0431\u044b \u0440\u0435\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0438\u043b\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430, \u0430 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 \u0432 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u044b\u0445 \u0441\u043a\u043e\u0431\u043a\u0430\u0445 [] \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0443 \u043a \u0434\u0430\u043d\u043d\u044b\u043c, \u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430 \u2014 \u044d\u0442\u043e \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u043e, \u0430 \u0435\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u0441\u0432\u043e\u0435\u043d \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0443 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430, \u0435\u0441\u043b\u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 \u0443\u043a\u0430\u0437\u0430\u043d \u0432\u043e\u043e\u0431\u0449\u0435 \u0431\u0435\u0437 \u0432\u0441\u044f\u043a\u0438\u0445 \u0441\u043a\u043e\u0431\u043e\u043a \u2014 \u0442\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0432 \u043d\u0451\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435. <br \/>  \u0414\u0430\u043b\u0435\u0435 \u043e\u0431\u0440\u0430\u0442\u0438\u043c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 input \u0441 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u043c #newitem \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043c\u044b \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0443 \u0438\u043c\u044f, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d, \u043a\u0430\u043a \u0432 \u0441\u043e\u0431\u044b\u0442\u0438\u0438 click \u043a\u043d\u043e\u043f\u043a\u0438 \u043d\u0438\u0436\u0435, \u0433\u0434\u0435 \u043c\u044b \u0431\u0435\u0440\u0451\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 input&#8217;\u0430 \u2014 newitem.value \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u043c \u0435\u0433\u043e \u0432 store.addItem(). <br \/>  \u0421\u043b\u0435\u0434\u043e\u043c \u0438\u0434\u0451\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0437\u0430\u0434\u0430\u0447, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0432\u044b\u0432\u0435\u043b\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043d\u043e\u0432\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u044b *foreach(\u044d\u0442\u043e \u0437\u0430\u043c\u0435\u043d\u0430 ng-repeat), \u0437\u0434\u0435\u0441\u044c, \u043a\u0430\u043a \u0438 \u0432 input&#8217;\u0435 \u0432\u044b\u0448\u0435, \u043c\u044b \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 #item, \u0447\u0442\u043e\u0431\u044b \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u0434\u0430\u043b\u0435\u0435 \u043a \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0443 \u0441\u043f\u0438\u0441\u043a\u0430 \u043f\u043e \u0438\u043c\u0435\u043d\u0438 item. <br \/>  \u041a\u0430\u0436\u0434\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441\u043f\u0438\u0441\u043a\u0430 \u043c\u044b \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c\u0441\u044f \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u044b item-editor, \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u044b \u043f\u0440\u0438\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441\u043f\u0438\u0441\u043a\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430 [item]. <\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0444\u0430\u0439\u043b app\/ItemEditor.js \u0441 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u043c ItemEditor, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u0432\u0435\u0447\u0430\u0442\u044c \u0437\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0441\u043f\u0438\u0441\u043a\u0430.   <\/p>\n<pre><code class=\"javascript\">import {Component, Template} from 'angular2\/angular2';  @Component({     selector: 'item-editor',     bind: {         'item': 'item'     } }) @Template({     inline: `         &lt;style&gt;                  @import &quot;..\/bower_components\/angular-material\/angular-material.css&quot;;         md-checkbox.md-checked .md-icon {             background-color: #039be5;             color: white;         }         &lt;\/style&gt;         &lt;md-checkbox [class.md-checked]=&quot;item.checked&quot; (click)=&quot;item.toggleCheck()&quot;&gt;         &lt;div class=&quot;md-label&quot;&gt;             &lt;div class=&quot;md-container&quot;&gt;                 &lt;div class=&quot;md-icon&quot;&gt;&lt;\/div&gt;             &lt;\/div&gt;             &lt;span&gt;                 {{item.name}}             &lt;\/span&gt;         &lt;\/div&gt;         &lt;\/md-checkbox&gt;         `  }) export class ItemEditor {  } <\/code><\/pre>\n<p>  \u0417\u0434\u0435\u0441\u044c \u0432  @Component \u043c\u044b \u0443\u043a\u0430\u0437\u0430\u043b\u0438 \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440 &#8216;item-editor&#8217;, \u044d\u0442\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432 *foreach \u0432 todo.html. \u0421\u043b\u0435\u0434\u043e\u043c \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e bind, \u043e\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430 item \u043a \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0443 item \u043a\u043b\u0430\u0441\u0441\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430(\u0447\u0442\u043e-\u0442\u043e \u0432\u0440\u043e\u0434\u0435 bindToController). <br \/>  \u0412  @Template \u043d\u0430 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u0432\u043c\u0435\u0441\u0442\u043e url \u0434\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e inline, \u043e\u043d\u043e \u0441\u043b\u0443\u0436\u0438\u0442 \u0434\u043b\u044f \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u0442\u0435\u043a\u0441\u0442\u0430 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u043f\u0440\u044f\u043c\u043e \u0432 \u043a\u043e\u0434\u0435. \u042d\u0442\u043e \u0441\u043d\u0438\u0436\u0430\u0435\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u044b\u0445 http \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0441\u043b\u0435 \u0432\u044b\u0445\u043e\u0434\u0430 Angular 2 \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043a\u043e\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u043b\u0430\u0433\u0438\u043d \u0434\u043b\u044f Gulp, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043c\u0435\u043d\u044f\u0442\u044c url \u043d\u0430 inline, \u043d\u0430 \u0437\u0430\u043c\u0435\u043d\u0443 \u043d\u044b\u043d\u0435\u0448\u043d\u0435\u043c\u0443 <a href=\"https:\/\/www.npmjs.com\/package\/gulp-angular-templatecache\/\">gulp-angular-templatecache<\/a>. <\/p>\n<p>  \u0412 \u0441\u0430\u043c\u043e\u043c \u0448\u0430\u0431\u043b\u043e\u043d\u0435 \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0430\u0442\u0440\u0438\u0431\u0443\u0442 [class.md-checked] \u2014 \u044d\u0442\u043e \u043b\u0430\u043a\u043e\u043d\u0438\u0447\u043d\u0430\u044f \u0437\u0430\u043c\u0435\u043d\u0430 ng-class. \u0410 \u043d\u0438\u0436\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0438\u043c\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0441\u043f\u0438\u0441\u043a\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u0436\u0435 \u0441\u0442\u0430\u0432\u0448\u0435\u0433\u043e \u0440\u043e\u0434\u043d\u044b\u043c \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430 \u0441 \u0444\u0438\u0433\u0443\u0440\u043d\u044b\u043c\u0438 \u0441\u043a\u043e\u0431\u043a\u0430\u043c\u0438 {{item.name}}.<\/p>\n<p>  \u0412\u043e\u0442 \u0438 \u0432\u0441\u0451, \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442(\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0425\u0440\u043e\u043c\u0435) \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0431\u0443\u0434\u0443\u0449\u0438\u0439 Angular 2.0.<\/p>\n<p>  \u041a\u0430\u043a \u043c\u044b \u0432\u0438\u0434\u0438\u043c, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u0435\u0440\u0435\u043e\u0441\u043c\u044b\u0441\u043b\u0438\u043b\u0438 \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044e Angular.js \u0438 \u043d\u0430\u0441 \u0442\u0435\u043f\u0435\u0440\u044c \u0436\u0434\u0451\u0442 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043d\u043e\u0432\u044b\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0441 \u043d\u043e\u0432\u044b\u043c, \u0431\u043e\u043b\u0435\u0435 \u043b\u0430\u043a\u043e\u043d\u0438\u0447\u043d\u044b\u043c \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u043e\u043c. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043d\u043e\u0432\u043e\u0439 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0435, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0439 \u0441 \u0440\u0430\u0441\u0447\u0451\u0442\u043e\u043c \u043d\u0430 \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433\u0430, \u0433\u043b\u0430\u0432\u043d\u044b\u0439 \u0431\u0438\u0447 \u0432\u0435\u0440\u0441\u0438\u0439 1.x, \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u0435\u0442 \u0432\u043e \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437(\u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0435 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u043a\u043e\u043d\u0446\u0435 \u0434\u043e\u043a\u043b\u0430\u0434\u0430 \u0414\u0435\u0439\u0432\u0430 \u0421\u043c\u0438\u0442\u0430 <a href=\"https:\/\/www.youtube.com\/watch?v=XQM0K6YG18s&amp;list=PLOETEcp3DkCoNnlhE-7fovYvqwVPrRiY7\">Angular + React = Speed<\/a> ). \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u044e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u043f\u0435\u0440\u0441\u043f\u0435\u043a\u0442\u0438\u0432\u044b \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f IDE \u0434\u043b\u044f \u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u043e\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u0438 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430(\u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c, Microsoft \u0437\u0430\u044f\u0432\u043b\u044f\u0435\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 Angular \u0432 Visual Studio \u043e\u0434\u043d\u0438\u043c \u0438\u0437 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u043e\u0432). \u0410 \u043d\u043e\u0432\u0448\u0435\u0441\u0442\u0432\u0430 ES6 \u0441\u0434\u0435\u043b\u0430\u044e\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0435\u0449\u0451 \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0438 \u043f\u0440\u0438\u044f\u0442\u043d\u0435\u0435.<\/p>\n<p>  \u042d\u0442\u043e \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0438 \u0432\u0441\u0451, \u0447\u0442\u043e \u043c\u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0443\u0437\u043d\u0430\u0442\u044c \u043e\u0431 Angular 2.0 \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f, \u0431\u0443\u0434\u0435\u043c \u0434\u0430\u043b\u044c\u0448\u0435 \u0441\u043b\u0435\u0434\u0438\u0442\u044c \u0437\u0430 \u043d\u043e\u0432\u043e\u0441\u0442\u044f\u043c\u0438, \u0430 \u043f\u043e\u043a\u0430 \u0432\u043e\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u0441\u0441\u044b\u043b\u043e\u043a \u043f\u043e \u0442\u0435\u043c\u0435:<br \/>  <a href=\"https:\/\/www.youtube.com\/channel\/UCm9iiIfgmVODUJxINecHQkA\">\u041a\u0430\u043d\u0430\u043b ng-conf \u043d\u0430 YouTube \u0441 \u043c\u0430\u0441\u0441\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u0434\u043e\u043a\u043b\u0430\u0434\u043e\u0432<\/a><br \/>  <a href=\"https:\/\/angular.io\/\">\u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0430\u0439\u0442 Angular 2.0<\/a><br \/>  <a href=\"https:\/\/github.com\/angular\/angular\">\u041f\u0440\u043e\u0435\u043a\u0442 Angular 2 \u043d\u0430 GitHub<\/a>      \t<\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/253469\/\"> http:\/\/habrahabr.ru\/post\/253469\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>     \t<img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/1b4\/fd4\/cfc\/1b4fd4cfc96f40fe8c84f8354575383f.png\" align=\"left\"\/><br \/>  \u0421\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0434\u0430\u0432\u043d\u043e(5-6 \u043c\u0430\u0440\u0442\u0430) \u043f\u0440\u043e\u0448\u043b\u0430 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f <a href=\"http:\/\/www.ng-conf.org\">ng-conf<\/a>, \u0438 \u043c\u043d\u043e\u0433\u043e \u0434\u043e\u043a\u043b\u0430\u0434\u043e\u0432 \u043d\u0430 \u043d\u0435\u0439 \u0431\u044b\u043b\u043e \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u043e \u0433\u0440\u044f\u0434\u0443\u0449\u0435\u043c\u0443 \u0440\u0435\u043b\u0438\u0437\u0443 Angular 2, \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0438\u0437 \u043d\u0438\u0445 \u0434\u0430\u0436\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438 \u0430\u043b\u044c\u0444\u0430 \u0432\u0435\u0440\u0441\u0438\u044e. \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435 \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u043d\u0438\u044f \u043e\u0447\u0435\u043d\u044c \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u043b\u0438\u0447\u043d\u043e. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0442\u043e\u0436\u0435 \u043d\u0435 \u0442\u0435\u0440\u043f\u0438\u0442\u0441\u044f \u2014 \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442. <\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0440\u0430\u0437\u0431\u0435\u0440\u0451\u043c\u0441\u044f, \u0433\u0434\u0435 \u0432\u0437\u044f\u0442\u044c \u0431\u0438\u043b\u0434 \u0430\u043b\u044c\u0444\u0430 \u0432\u0435\u0440\u0441\u0438\u0438 Angular 2.0, \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043d\u0430 \u043d\u0451\u043c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u2014 To-do list, \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u0435\u0433\u043e \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0431\u0435\u0437 \u043f\u043e\u043b\u043d\u043e\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 ECMAScript 6.   <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-253364","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/253364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=253364"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/253364\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=253364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=253364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=253364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}