Top "Angular2-cli" questions

How to include Underscore.js in angular2 project built using angular-cli

I want to include underscore.js inside angular2 project built using angular-cli. Till now I am unable to do so. …

angular2-cli
How can I use a window object in Angular 2?

I tried to put the following code to get a window object in angular 2: @Component({ selector: 'app-slider', templateUrl: './slider.…

angular angular2-cli window-object
Angular 2 cli integration in visual studio 2015

I am trying to create an angular 2 application in visual studio 2015 using angular2 cli setup. I have done the following …

angular visual-studio-2015 angular2-cli
Different proxy config based on environment in Angular 2 CLI

How can I declare 2 different proxy URLs for development and production environments in Angular 2 CLI project? For example, while in …

angular angular2-cli
Uncaught TypeError: this._input.charCodeAt is not a function

I created an Angular 2 project using Angular 2 CLI and used ng build --prod command and got no errors. When I …

angular webpack angular2-cli
Configure history.pushState for Angular 2

My Angular 2 application uses the default HTML 5 history.pushState location strategy. How do I configure a server with history.pushState …

angular angular2-routing angular2-cli