Posts in 2021
-
Most votes on angularjs questions 2
May 01, 2021 in FAQ
Most votes on angularjs questions 2. #11 What are the nuances of scope prototypal / prototypical inheritance in AngularJS? #12 Working with $scope.$emit and $scope.$on #13 AngularJS : Prevent error $digest already in progress when calling $scope.$apply() #14 Insert HTML into view from AngularJS controller #15 How to set focus on input field? #16 if else statement in AngularJS templates #17 How do search engines deal with AngularJS applications? #18 How to iterate over the keys and values with ng-repeat in AngularJS? #19 How do I bind to list of checkbox values with AngularJS? #20 Why does AngularJS include an empty option in select?
Read all the top votes questions and answers in a single page. #11: What are the nuances of scope prototypal / prototypical inheritance in AngularJS? (Score: 1039) Created: 2012-12-27 Last updated: 2020-04-16 Tags: javascript, angularjs, inheritance, …
-
Most votes on angularjs questions 10
May 01, 2021 in FAQ
Most votes on angularjs questions 10. #91 How can I check which version of Angular I'm using? #92 How do I conditionally apply CSS styles in AngularJS? #93 How to set bootstrap navbar active class with Angular JS? #94 How to reload or re-render the entire page using AngularJS #95 AngularJS with Django - Conflicting template tags #96 How to add many functions in ONE ng-click? #97 How do I call an Angular.js filter with multiple arguments? #98 What is the best way to conditionally apply attributes in AngularJS? #99 File Upload using AngularJS #100 AngularJS : When to use service instead of factory
Read all the top votes questions and answers in a single page. #91: How can I check which version of Angular I'm using? (Score: 315) Created: 2013-04-15 Last updated: 2020-10-26 Tags: angularjs, angular How can I tell which version of Angular I am …
-
Most votes on angularjs questions 1
May 01, 2021 in FAQ
Most votes on angularjs questions 1. #1 "Thinking in AngularJS" if I have a jQuery background? #2 AngularJS: Service vs provider vs factory #3 How does data binding work in AngularJS? #4 How do I access the $scope variable in browser's console using AngularJS? #5 What is the best way to conditionally apply a class? #6 How do I use $scope.$watch and $scope.$apply in AngularJS? #7 What is the difference between angular-route and angular-ui-router? #8 What is the difference between '@' and '=' in directive scope in AngularJS? #9 angular.service vs angular.factory #10 'this' vs $scope in AngularJS controllers
Read all the top votes questions and answers in a single page. #1: "Thinking in AngularJS" if I have a jQuery background? (Score: 4511) Created: 2013-02-21 Last updated: 2018-11-02 Tags: javascript, jquery, angularjs Suppose I’m …
-
Most votes on angular questions 9
May 01, 2021 in FAQ
Most votes on angular questions 9. #81 What is the difference between "ng-bootstrap" and "ngx-bootstrap"? #82 Angular pass callback function to child component as @Input similar to AngularJS way #83 How to get query params from url in Angular 2? #84 Is it necessary to unsubscribe from observables created by Http methods? #85 How to watch and reload ts-node when TypeScript files change #86 What is the proper use of an EventEmitter? #87 How should I use the new static option for @ViewChild in Angular 8? #88 TypeScript-'s Angular Framework Error - "There is no directive with exportAs set to ngForm" #89 How to use moment.js library in angular 2 typescript app? #90 How to declare a variable in a template in Angular
Read all the top votes questions and answers in a single page. #81: What is the difference between "ng-bootstrap" and "ngx-bootstrap"? (Score: 258) Created: 2017-05-03 Last updated: 2020-12-11 Tags: angular, ng-bootstrap, …
-
Most votes on angular questions 8
May 01, 2021 in FAQ
Most votes on angular questions 8. #71 Importing lodash into angular2 + typescript application #72 Define global constants #73 ng is not recognized as an internal or external command #74 How to add bootstrap to an angular-cli project #75 tslint / codelyzer / ng lint error: "for (… in …) statements must be filtered with an if statement" #76 Angular File Upload #77 Delegation: EventEmitter or Observable in Angular #78 WARNING in budgets, maximum exceeded for initial #79 How can I write data attributes using Angular? #80 What is the best way to delete a component with CLI
Read all the top votes questions and answers in a single page. #71: Importing lodash into angular2 + typescript application (Score: 278) Created: 2016-01-07 Last updated: 2021-05-01 Tags: javascript, angular, typescript, lodash, es6-module-loader I …
-
Most votes on angular questions 7
May 01, 2021 in FAQ
Most votes on angular questions 7. #61 Format date as dd/MM/yyyy using pipes #62 No provider for TemplateRef! (NgIf ->TemplateRef) #63 Angular window resize event #64 Angular @ViewChild() error: Expected 2 arguments, but got 1 #65 @ViewChild in *ngIf #66 Convert Promise to Observable #67 Angular2 Exception: Can't bind to 'routerLink' since it isn't a known native property #68 mat-form-field must contain a MatFormFieldControl #69 How to generate components in a specific folder with Angular CLI? #70 Stop mouse event propagation
Read all the top votes questions and answers in a single page. #61: Format date as dd/MM/yyyy using pipes (Score: 291) Created: 2016-03-02 Last updated: 2018-11-02 Tags: date, angular, angular-pipe, date-pipe I’m using the date pipe to format …
-
Most votes on angular questions 6
May 01, 2021 in FAQ
Most votes on angular questions 6. #51 How do I pass data to Angular routed components? #52 How to add conditional attribute in Angular 2? #53 How can I check which version of Angular I'm using? #54 Can't bind to 'ngIf' since it isn't a known property of 'div' #55 Exception: Can't bind to 'ngFor' since it isn't a known native property #56 How to style child components from parent component's CSS file? #57 npm WARN … requires a peer of … but none is installed. You must install peer dependencies yourself #58 How to pass url arguments (query string) to a HTTP request on Angular? #59 How to add font-awesome to Angular 2 + CLI project #60 Angular 2 @ViewChild annotation returns undefined
Read all the top votes questions and answers in a single page. #51: How do I pass data to Angular routed components? (Score: 317) Created: 2016-04-25 Last updated: 2018-12-05 Tags: angular, typescript In one of my Angular 2 routes’s templates …
-
Most votes on angular questions 5
May 01, 2021 in FAQ
Most votes on angular questions 5. #41 Angular no provider for NameService #42 Angular CLI SASS options #43 Angular 2 change event on every keypress #44 Angular EXCEPTION: No provider for Http #45 Angular 4: no component factory found,did you add it to @NgModule.entryComponents? #46 Angular HTTP GET with TypeScript error http.get(…).map is not a function in [null] #47 In Angular, how do you determine the active route? #48 NPM Install Error:Unexpected end of JSON input while parsing near '…nt-webpack-plugin":"0' #49 What is the correct way to share the result of an Angular Http network call in RxJs 5? #50 How to apply filters to *ngFor?
Read all the top votes questions and answers in a single page. #41: Angular no provider for NameService (Score: 350) Created: 2015-06-01 Last updated: 2019-02-27 Tags: typescript, angular, systemjs I’ve got a problem loading a class into an …
-
Most votes on angular questions 4
May 01, 2021 in FAQ
Most votes on angular questions 4. #31 ExpressionChangedAfterItHasBeenCheckedError Explained #32 Angular exception: Can't bind to 'ngForIn' since it isn't a known native property #33 (change) vs (ngModelChange) in angular #34 Angular - Use pipes in services and components #35 How to bundle an Angular app for production #36 How to use jQuery with Angular? #37 Angular 2 Scroll to top on Route Change #38 Angular - Set headers for every request #39 Angular error: "Can't bind to 'ngModel' since it isn't a known property of 'input'" #40 Expression ___ has changed after it was checked
Read all the top votes questions and answers in a single page. #31: ExpressionChangedAfterItHasBeenCheckedError Explained (Score: 402) Created: 2017-04-12 Last updated: 2018-09-20 Tags: angular, angular2-changedetection, angular2-databinding Please …
-
Most votes on angular questions 3
May 01, 2021 in FAQ
Most votes on angular questions 3. #21 @Directive vs @Component in Angular #22 Binding select element to object in Angular #23 Error when trying to inject a service into an angular component "EXCEPTION: Can't resolve all parameters for component", why? #24 How to go back last page #25 What is the difference between declarations, providers, and import in NgModule? #26 Can't bind to 'formControl' since it isn't a known property of 'input' - Angular2 Material Autocomplete issue #27 How can I get new selection in "select" in Angular 2? #28 Triggering change detection manually in Angular #29 What is the meaning of the "at" (@) prefix on npm packages? #30 Error: More than one module matches. Use skip-import option to skip importing the component into the closest module
Read all the top votes questions and answers in a single page. #21: @Directive vs @Component in Angular (Score: 482) Created: 2015-09-20 Last updated: 2020-04-28 Tags: angular What is the difference between @Component and @Directive in Angular? Both …