tagged [angular]
How to upgrade Angular CLI to the latest version
How to upgrade Angular CLI to the latest version Using `ng --version` I got: > @angular/cli: 1.0.0 which is not the latest release available. Since I have Angular CLI globally installed on my system, ...
- Modified
- 12 May at 07:35
Angular (4, 5, 6, 7) - Simple example of slide in out animation on ngIf
Angular (4, 5, 6, 7) - Simple example of slide in out animation on ngIf What is the bare minimum and 's native way to and a container element? e.g. Content (from top to down just like jQuery.[slideDow...
- Modified
- 29 Oct at 09:57
'Found the synthetic property @panelState. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.'
'Found the synthetic property @panelState. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.' I upgraded an Angular 4 project using angular-seed and now ge...
- Modified
- 11 Jan at 11:56
How to get the Angular version?
How to get the Angular version? I installed the `@angular/cli` package via npm using: The version 1.4.2 of `@angular/cli` has been successfully installed. That is not the Angular version, but the CLI ...
- Modified
- 9 Jun at 17:33
'ng' is not recognized as an internal or external command, operable program or batch file
'ng' is not recognized as an internal or external command, operable program or batch file I tried running npm install -g angular-cli [](https://i.stack.imgur.com/zHGBk.png) I also tried adding it to t...
- Modified
- 20 Jun at 15:25
ERROR in The Angular Compiler requires TypeScript >=3.1.1 and <3.2.0 but 3.2.1 was found instead
ERROR in The Angular Compiler requires TypeScript >=3.1.1 and ERROR in The Angular Compiler requires TypeScript >=3.1.1 and
- Modified
- 21 Dec at 19:53
How to disable a input in angular2
How to disable a input in angular2 In ts `is_edit = true` to disable... I just simply want to disable a input based on `true` or `false`. I tried following: ``` [disabled]="is_edit=='false' ? true : n...
- Modified
- 29 Nov at 05:12
Angular-Material DateTime Picker Component?
Angular-Material DateTime Picker Component? I imported a [date picker](https://material.angular.io/components/datepicker/overview) in a project and was wondering if there was any official recent compo...
- Modified
- 19 Jul at 12:48
You seem to not be depending on "@angular/core". This is an error
You seem to not be depending on "@angular/core". This is an error I want to create an angular 2 App with angular cli I have written in the cmd: > npm install angular-cli -g then: > ng firstngapp but i...
- Modified
- 13 Jul at 12:55
how to format date in Component of angular 5
how to format date in Component of angular 5 I am new to angular and looking to format date in component ngOnInit method. I have seen some example where pipe operator are used to format the data but i...
- Modified
- 10 Jan at 09:2
Message "the term 'ng' is not recognized as the name of a cmdlet"
Message "the term 'ng' is not recognized as the name of a cmdlet" Today, while working through some basic AngularJS introduction, I ran into a problem. I opened PowerShell to get going on the project....
- Modified
- 9 Apr at 16:35
is there any alternative for ng-disabled in angular2?
is there any alternative for ng-disabled in angular2? I am using angular2 for development and was wondering if there is any alternative for `ng-disabled` in angular2. For ex. below code is in angularJ...
- Modified
- 24 Aug at 13:26
@HostBinding and @HostListener: what do they do and what are they for?
@HostBinding and @HostListener: what do they do and what are they for? In my meanderings around the world wide interweb, and now especially the [angular.io style docs](https://angular.io/guide/stylegu...
- Modified
- 13 Dec at 23:26
Disable click outside of angular material dialog area to close the dialog (With Angular Version 4.0+)
Disable click outside of angular material dialog area to close the dialog (With Angular Version 4.0+) I am currently working on password reset page of an Angular 4 project. We are using Angular Materi...
- Modified
- 29 Feb at 16:57
No value accessor for form control with name: 'recipient'
No value accessor for form control with name: 'recipient' I got this error after upgrading to Angular 2 Rc.5. This is my component template: My app.module.ts imports the `FormsModule` I also tried to ...
- Modified
- 3 Apr at 23:19
Angular ngClass and click event for toggling class
Angular ngClass and click event for toggling class In Angular, I would like to use `ngClass` and click event to toggle class. I looked through online but some are angular1 and there isn't any clear in...
- Modified
- 16 Sep at 06:45
Angular 2: How to style host element of the component?
Angular 2: How to style host element of the component? I have component in Angular 2 called my-comp: How does one style the host element of this component in Angular 2? In Polymer, You would use ":hos...
- Modified
- 29 Mar at 03:34
Angular 2: Form submission canceled because the form is not connected
Angular 2: Form submission canceled because the form is not connected I have a modal that contains a form, when the modal is destroyed I get the following error in the console: > Form submission cance...
- Modified
- 20 Jan at 11:47
In Angular, how to add Validator to FormControl after control is created?
In Angular, how to add Validator to FormControl after control is created? We have a component that has a dynamically built form. The code to add a control with validators might look like this: But let...
- Modified
- 22 Feb at 00:35
ng is not recognized as an internal or external command
ng is not recognized as an internal or external command Running windows 7 Professional 32bit. I tried running `npm install -g angular-cli` both under normal or admin. ![2016-06-23_14h46_40](https://cl...
- Modified
- 23 Jun at 12:25
Expandable table rows in angular 4 with angular material
Expandable table rows in angular 4 with angular material How would you make rows expandable in angular material tables? One requirement is that I need to be using the [angular material table](https://...
- Modified
- 26 Apr at 17:36
Passive Link in Angular 2 - <a href=""> equivalent
Passive Link in Angular 2 - equivalent In Angular 1.x I can do the following to create a link which does basically nothing: But the same tag navigates to the app base in Angular 2. What is the equival...
- Modified
- 28 May at 18:57
Angular Material - show mat-error on button click
Angular Material - show mat-error on button click I am trying to do validation using the `` and ``. This works fine when user tabs out of the input without filling. But how do I force this error to sh...
- Modified
- 3 Nov at 21:18
Format date as dd/MM/yyyy using pipes
Format date as dd/MM/yyyy using pipes I'm using the `date` pipe to format my date, but I just can't get the exact format I want without a workaround. Am I understanding pipes wrongly or is just not po...
- Modified
- 2 Nov at 22:40
Get Value From Select Option in Angular 4
Get Value From Select Option in Angular 4 How do I get the value from the select option in Angular 4? I want to assign it to a new variable in the component.ts file. I've tried this but outputs nothin...
- Modified
- 29 Aug at 06:32