Guanghui Wang

A very lame cool person

反思

成熟、勇气十点读书 – 一个家庭悲惨的女孩考上了哈佛她拥有悲惨的成长经历,却从来不向命运低头。一个人如果经历各种屈辱和心酸,但心中仍然充满阳光、大爱;经历各种挫折,但不改心中的理想;经营各种的不公,但内心仍然平和,这本身就是一种非常高贵的人格。如何理解真正的成熟?一个没有经历过黑暗和风雨的人不能..


ES2015 most useful features

Declaring Variables in ES6constA constant is a variable that cannot be changed. Like other languages had done before it, JavaScript introduced const..


angular2-chapter16 -- Production

Go to ProductionCheck code at: https://github.com/wghglory/angular2-fundamental Tslint1234npm i typescript -gnpm i tslint -g #globallynpm i tsli..


angular2-chapter15 -- Integration Testing

Integration TestCheck code at: https://github.com/wghglory/angular2-fundamental create session-list.component.Integrated.spec.ts Deep Integration Te..


angular2-chapter14 -- Unit Testing by Jasmine framework and Karma

Unit Testing by Jasmine framework and KarmaCheck code at: https://github.com/wghglory/angular2-fundamental npm install -g karma-cli add karma.conf.j..


angular2-chapter13 -- Communicating with the Server Using HTTP, Observables, and Rx

Communicating with the Server Using HTTP, Observables, and RxCheck code at: https://github.com/wghglory/angular2-fundamental Observable features Can..


angular2-chapter12 -- More Components and Custom Validators

More Components and Custom ValidatorsCheck code at: https://github.com/wghglory/angular2-fundamental We can vote for sessions whatever user likes. V..


angular2-chapter11 -- Create Directives and Advanced Component

Create Directives and Advanced ComponentCheck code at: https://github.com/wghglory/angular2-fundamental Implementing the Session SearchTodo: impleme..


angular2-chapter10 -- DI

How angular 2 do DICheck code at: https://github.com/wghglory/angular2-fundamental when calling eventService, angular2 uses EventService class as ke..


angular2-chapter09 -- Displaying Data with Pipes

Displaying Data with PipesCheck code at: https://github.com/wghglory/angular2-fundamental Using Built-in PipesNow in event list page, you can see ev..