Angular 2 with lodash.

Simplest way to add lodash to your project is to install it with npm npm install lodash –save and add to typescript file import * as _ from ‘lodash’ But it means, that you get extra 69 Kb (23 Kb gzipped) in your build file. It’s to much if you use only couple of functions …

Upgrade Angular 2 from RC.4 to RC.5

Angular 2 on upgrade from RC.4 to RC.5 marked as deprecated HTTP_PROVIDERS, added @NgModule and changed structure of root component. If you get notice about any _PROVIDERS In RC.4 it was: bootstrap(AppComponent, [ disableDeprecatedForms(), provideForms(), HTTP_PROVIDERS ]); In RC.5 it looks like: @NgModule({ declarations: [ AppComponent ], imports: [ BrowserModule, CommonModule, FormsModule, HttpModule ], providers: …