Top "Angular-cli" questions

The Angular CLI is a command line interface for building, managing and deploying Angular (version 2+) applications.

Dynamically load HTML template in angular2

I have created a project using angular-cli which contains AppComponent as follows: import { Component } from '@angular/core'; @Component({ selector: …

angular typescript aem angular-cli angular2-compiler
How to deploy angular-cli app on iis

I have simple angular2-cli app (one page with model driven form - no router involved). With "ng serve" all …

angular iis publish angular-cli
Angular cli - how to disable auto reload when ng serve

When serving my app with the Angular cli, how do I disable auto-reload? ng --help mentions the --live-reload option, but …

angular angular-cli
Angular Karma Jasmine Error: Illegal state: Could not load the summary for directive

I'm developing a github repository (with angular 7 and angular-cli), and I have some tests with Karma and Jasmine working in …

javascript angular karma-runner karma-jasmine angular-cli
Angular2 Cannot find namespace 'google'

I am working with angular2-google-maps and latest version of Angular2. I am trying to convert some of the local …

google-maps angular typescript angular-cli angular2-google-maps
Angular 2 - Global CSS file

Is it possible to add a global CSS file to Angular 2? At the moment I have many different components that …

css angular angular-cli
Angular 4 Bootstrap dropdown require Popper.js

I have a fresh created Angular 4 CLI app. After running this: npm install [email protected] jquery popper.js --save and …

javascript angular angular-cli bootstrap-4
Angular 2 with CLI - build for production

I have freshly installed angular-cli 1.0.0.beta.17 (latest one), start new project, able to serve project on port 4200 with no problems …

angular build production angular-cli
What is difference between ng build and ng serve?

What is the difference between ng build and ng serve? What exactly done or changes happen after ng build and …

angular angular-cli frontend
Angular tests failing with Failed to execute 'send' on 'XMLHttpRequest'

I am trying to test my angular 4.1.0 component - export class CellComponent implements OnInit { lines: Observable<Array<ILine&…

angular unit-testing karma-jasmine angular-cli