# Angular

**URL:** https://forum.codewithmosh.com/c/angular/17.md?page=1

[Latest](https://forum.codewithmosh.com/latest.md) · [Categories](https://forum.codewithmosh.com/categories.md)

**Page:** 2

---

## [Feature request: Unit test coverage for HTML files](https://forum.codewithmosh.com/t/feature-request-unit-test-coverage-for-html-files/21751)

<div class="topic-metadata">

**Author:** [@pannelley](https://forum.codewithmosh.com/u/pannelley)\
**Replies:** 0\
**Last updated:** [July 28, 2023, 1:31pm UTC](https://forum.codewithmosh.com/t/feature-request-unit-test-coverage-for-html-files/21751 "2023-07-28T13:31:08Z")

</div>

Hello everyone, I’ve submitted a feature request on angular/cli, and the idea is to include unit test coverage for HTML files, not just TypeScript. If you think this would be a valuable addition, please consider upvotin…

---

## [Seeking Advice: Angular 4 vs. Angular 14 Course](https://forum.codewithmosh.com/t/seeking-advice-angular-4-vs-angular-14-course/21575)

<div class="topic-metadata">

**Author:** [@iglinsc](https://forum.codewithmosh.com/u/iglinsc)\
**Replies:** 1\
**Last updated:** [July 24, 2023, 7:44am UTC](https://forum.codewithmosh.com/t/seeking-advice-angular-4-vs-angular-14-course/21575 "2023-07-24T07:44:49Z")

</div>

Hell! I need your help in deciding whether to enroll in an Angular 4 course, considering that Angular 14 is now the latest version. Does anyone know when the course was recorded, and is it worth enrolling? Your insights …

---

## [Hello I dont see a lesson on unrelated component interaction and I am having an issue with this. below is my code](https://forum.codewithmosh.com/t/hello-i-dont-see-a-lesson-on-unrelated-component-interaction-and-i-am-having-an-issue-with-this-below-is-my-code/21469)

<div class="topic-metadata">

**Author:** [@lovelattemocha](https://forum.codewithmosh.com/u/lovelattemocha)\
**Replies:** 1\
**Last updated:** [July 15, 2023, 7:39am UTC](https://forum.codewithmosh.com/t/hello-i-dont-see-a-lesson-on-unrelated-component-interaction-and-i-am-having-an-issue-with-this-below-is-my-code/21469 "2023-07-15T07:39:12Z")

</div>

Angular behavior subject not updating property values when I click ’ add task’ button. Before I post it I want to know which videos speaks about unrelated component interaction where component property keeps changing.

---

## [Tutorial references outdated versions causing errors](https://forum.codewithmosh.com/t/tutorial-references-outdated-versions-causing-errors/19840)

<div class="topic-metadata">

**Author:** [@johnnyreal](https://forum.codewithmosh.com/u/johnnyreal)\
**Replies:** 1\
**Last updated:** [July 5, 2023, 9:58pm UTC](https://forum.codewithmosh.com/t/tutorial-references-outdated-versions-causing-errors/19840 "2023-07-05T21:58:24Z")

</div>

I am just starting the Angular 4.0 Beginner to Pro course. I really like Mosh and excited about Angular. The problem is that the first section explains how to install Angular and Node. Commands are blowing up - the co…

---

## [Creating components and services from terminal NOT working](https://forum.codewithmosh.com/t/creating-components-and-services-from-terminal-not-working/20633)

<div class="topic-metadata">

**Author:** [@Tiziana](https://forum.codewithmosh.com/u/Tiziana)\
**Replies:** 0\
**Last updated:** [June 4, 2023, 4:50pm UTC](https://forum.codewithmosh.com/t/creating-components-and-services-from-terminal-not-working/20633 "2023-06-04T16:50:49Z")

</div>

I am not able to create components or services from the terminal on vs code. I have to manually create the files but would like to do it from the terminal so other files (like .html or .spec.tst are created as well). So …

---

## [Angular course retired?](https://forum.codewithmosh.com/t/angular-course-retired/11362)

<div class="topic-metadata">

**Author:** [@RichardLeung](https://forum.codewithmosh.com/u/RichardLeung)\
**Replies:** 2\
**Last updated:** [May 28, 2023, 10:09am UTC](https://forum.codewithmosh.com/t/angular-course-retired/11362 "2023-05-28T10:09:16Z")

</div>

I just bought the Angular course and just realized it’s old! The comment in the angular section are all complaints that Mosh should fix things. I think I want a refund. Doesn’t make sense learning old things. Why even se…

---

## [Data table issues](https://forum.codewithmosh.com/t/data-table-issues/20187)

<div class="topic-metadata">

**Author:** [@JOliveira](https://forum.codewithmosh.com/u/JOliveira)\
**Replies:** 1\
**Last updated:** [May 12, 2023, 11:58am UTC](https://forum.codewithmosh.com/t/data-table-issues/20187 "2023-05-12T11:58:20Z")

</div>

I am trying to do the angular course, so far I have been able to do it with current version of angular and firebase with a bunch of modifications and searches on StackOverflow… I am now at the Data table part of the cour…

---

## [7- Implementing a fadeOut Animation - Not working](https://forum.codewithmosh.com/t/7-implementing-a-fadeout-animation-not-working/20032)

<div class="topic-metadata">

**Author:** [@worldpeacez0991](https://forum.codewithmosh.com/u/worldpeacez0991)\
**Replies:** 0\
**Last updated:** [May 4, 2023, 12:12pm UTC](https://forum.codewithmosh.com/t/7-implementing-a-fadeout-animation-not-working/20032 "2023-05-04T12:12:27Z")

</div>

src\\app\\todos\\todos.component.html \<!-- P14\_7 -- (click) needs to be added for animation to run --\> \<div class="list-group" \*ngIf="items"\> \<button type="button" @fade \*ngFor="let item of items" class="…

---

## [Cannot read property 'items' of null](https://forum.codewithmosh.com/t/cannot-read-property-items-of-null/77)

<div class="topic-metadata">

**Author:** [@pulchritudinous](https://forum.codewithmosh.com/u/pulchritudinous)\
**Replies:** 6\
**Last updated:** [August 25, 2022, 8:20am UTC](https://forum.codewithmosh.com/t/cannot-read-property-items-of-null/77 "2022-08-25T08:20:59Z")

</div>

Hi all. So I have been following Mosh’s Angular Course on shopping cart and I have been facing an issue in my console that says Cannot read property ‘items’ of null After following the code I realized that a shopping ca…

---

## [Angular Firebase database value of Id is showing undefined help me please](https://forum.codewithmosh.com/t/angular-firebase-database-value-of-id-is-showing-undefined-help-me-please/19645)

<div class="topic-metadata">

**Author:** [@vinhcao](https://forum.codewithmosh.com/u/vinhcao)\
**Replies:** 4\
**Last updated:** [April 20, 2023, 9:11am UTC](https://forum.codewithmosh.com/t/angular-firebase-database-value-of-id-is-showing-undefined-help-me-please/19645 "2023-04-20T09:11:12Z")

</div>

---

## [Can not display when filter category (Angular 15) Help me thanks of all](https://forum.codewithmosh.com/t/can-not-display-when-filter-category-angular-15-help-me-thanks-of-all/19570)

<div class="topic-metadata">

**Author:** [@vinhcao](https://forum.codewithmosh.com/u/vinhcao)\
**Replies:** 3\
**Last updated:** [April 14, 2023, 9:27am UTC](https://forum.codewithmosh.com/t/can-not-display-when-filter-category-angular-15-help-me-thanks-of-all/19570 "2023-04-14T09:27:44Z")

</div>

it can queryParamMap the category but can not filter to display object

---

## [Category fetched as undefined from Firebse](https://forum.codewithmosh.com/t/category-fetched-as-undefined-from-firebse/15579)

<div class="topic-metadata">

**Author:** [@amgo85](https://forum.codewithmosh.com/u/amgo85)\
**Replies:** 13\
**Last updated:** [April 11, 2023, 10:17am UTC](https://forum.codewithmosh.com/t/category-fetched-as-undefined-from-firebse/15579 "2023-04-11T10:17:21Z")

</div>

I am saving category but getting pushed as undefined I don’t know why

---

## [Http Error handeling](https://forum.codewithmosh.com/t/http-error-handeling/9397)

<div class="topic-metadata">

**Author:** [@sharomin](https://forum.codewithmosh.com/u/sharomin)\
**Replies:** 5\
**Last updated:** [February 1, 2023, 10:47pm UTC](https://forum.codewithmosh.com/t/http-error-handeling/9397 "2023-02-01T22:47:17Z")

</div>

I have a problem with error handling part of http section, is there any update for this part of Course ? same problem : When importing ‘rxjs/add/operator/catch’ the catch method doesnt appear. How can I solve it? Ano…

---

## [Throwing Application-specific Errors .catch](https://forum.codewithmosh.com/t/throwing-application-specific-errors-catch/505)

<div class="topic-metadata">

**Author:** [@jch2os](https://forum.codewithmosh.com/u/jch2os)\
**Replies:** 5\
**Last updated:** [February 1, 2023, 5:18pm UTC](https://forum.codewithmosh.com/t/throwing-application-specific-errors-catch/505 "2023-02-01T17:18:55Z")

</div>

As I’m going through Mosh’s angular course I’ve been able to adjust up to this point with some of the outdated syntax. I’m running into an issue on Lesson 13 under “Consumming HTTP Services”, lecture Throwing applicatio…

---

## [Notify component about error in service](https://forum.codewithmosh.com/t/notify-component-about-error-in-service/17279)

<div class="topic-metadata">

**Author:** [@artkubicki](https://forum.codewithmosh.com/u/artkubicki)\
**Replies:** 2\
**Last updated:** [February 1, 2023, 2:53pm UTC](https://forum.codewithmosh.com/t/notify-component-about-error-in-service/17279 "2023-02-01T14:53:28Z")

</div>

It’s not much of news but Angular course is outdated and needs a refresh. However, I still find it useful but I need help with notifying component about error in service. In Angular 8 the pattern shown in the course, whe…

---

## [Install glyphicon library in Angular 15.x](https://forum.codewithmosh.com/t/install-glyphicon-library-in-angular-15-x/17819)

<div class="topic-metadata">

**Author:** [@stevenong\_2006](https://forum.codewithmosh.com/u/stevenong_2006)\
**Replies:** 0\
**Last updated:** [January 20, 2023, 5:30pm UTC](https://forum.codewithmosh.com/t/install-glyphicon-library-in-angular-15-x/17819 "2023-01-20T17:30:26Z")

</div>

Hi all, I just signed up for the “Angular 4: Beginner to Pro” recently. While most of the lessons are still relevant, I found the lessons involved using the glyphicon library (i.e., bootstrap 3.x) no longer work since t…

---

## [Issue with installing ng-bootstrap for oshop project, any thoughts?](https://forum.codewithmosh.com/t/issue-with-installing-ng-bootstrap-for-oshop-project-any-thoughts/17800)

<div class="topic-metadata">

**Author:** [@Rose](https://forum.codewithmosh.com/u/Rose)\
**Replies:** 0\
**Last updated:** [January 19, 2023, 8:19pm UTC](https://forum.codewithmosh.com/t/issue-with-installing-ng-bootstrap-for-oshop-project-any-thoughts/17800 "2023-01-19T20:19:22Z")

</div>

after installing ng-bootstrap version 6.0.0.0 for angualr 9, I get below errors: ERROR in node\_modules/@ng-bootstrap/ng-bootstrap/accordion/accordion.d.ts(118,34): error TS1005: ‘;’ expected. node\_modules/@ng-bootstrap/…

---

## [Glyphicon not showing](https://forum.codewithmosh.com/t/glyphicon-not-showing/11694)

<div class="topic-metadata">

**Author:** [@njbuwm](https://forum.codewithmosh.com/u/njbuwm)\
**Replies:** 3\
**Last updated:** [January 18, 2023, 4:13am UTC](https://forum.codewithmosh.com/t/glyphicon-not-showing/11694 "2023-01-18T04:13:05Z")

</div>

Attempting the Favorite component exercises in the Displaying Data and Handling Events section of the Angular 4 : Beginner to Pro course. The glyphicon does not show in the browser. I have used the solution files with t…

---

## [DELETE is not functioning as expected](https://forum.codewithmosh.com/t/delete-is-not-functioning-as-expected/2517)

<div class="topic-metadata">

**Author:** [@ChrisUribe](https://forum.codewithmosh.com/u/ChrisUribe)\
**Replies:** 2\
**Last updated:** [January 13, 2023, 8:37pm UTC](https://forum.codewithmosh.com/t/delete-is-not-functioning-as-expected/2517 "2023-01-13T20:37:23Z")

</div>

A DELETE on http://jsonplaceholder.typicode.com/posts/10000000000 will return with a “STATUS: 200 OK” which is wrong. If I try a DELETE on: https://my-json-server.typicode.com/typicode/demo/posts/100000000000 it ret…

---

## [The year is displayed wrong using Date pipe and moment.js (Angular 13) ](https://forum.codewithmosh.com/t/the-year-is-displayed-wrong-using-date-pipe-and-moment-js-angular-13/17644)

<div class="topic-metadata">

**Author:** [@ael128](https://forum.codewithmosh.com/u/ael128)\
**Replies:** 0\
**Last updated:** [January 13, 2023, 1:49am UTC](https://forum.codewithmosh.com/t/the-year-is-displayed-wrong-using-date-pipe-and-moment-js-angular-13/17644 "2023-01-13T01:49:14Z")

</div>

I’m using Moment.js to convert my date , but it displayed a wrong year below a part of my code in localized-moment.ts file : transform(value: any, pattern: string = 'short'): any { if (value.toString().includes(…

---

## [ERROR Error: ASSERTION ERROR: Type passed in is not ComponentType, it does not have 'ɵcmp' property](https://forum.codewithmosh.com/t/error-error-assertion-error-type-passed-in-is-not-componenttype-it-does-not-have-cmp-property/16830)

<div class="topic-metadata">

**Author:** [@jurivero](https://forum.codewithmosh.com/u/jurivero)\
**Replies:** 0\
**Last updated:** [December 3, 2022, 2:06am UTC](https://forum.codewithmosh.com/t/error-error-assertion-error-type-passed-in-is-not-componenttype-it-does-not-have-cmp-property/16830 "2022-12-03T02:06:12Z")

</div>

Angular CLI: 14.2.3 Node: 16.13.0 Package Manager: npm 8.19.2 OS: win32 x64 and I am getting on dev tools: main.ts:11 ERROR Error: ASSERTION ERROR: Type passed in is not ComponentType, it does not have ‘ɵcmp’ proper…

---

## [I am getting error in app.module.ts](https://forum.codewithmosh.com/t/i-am-getting-error-in-app-module-ts/16597)

<div class="topic-metadata">

**Author:** [@Chaitanya5](https://forum.codewithmosh.com/u/Chaitanya5)\
**Replies:** 0\
**Last updated:** [November 22, 2022, 2:45pm UTC](https://forum.codewithmosh.com/t/i-am-getting-error-in-app-module-ts/16597 "2022-11-22T14:45:16Z")

</div>

I tried to delete node\_modules and package-lock.json files and i typed the command npm install but still i am getting this error

---

## [Angular-4-DataTable](https://forum.codewithmosh.com/t/angular-4-datatable/16546)

<div class="topic-metadata">

**Author:** [@Chaitanya5](https://forum.codewithmosh.com/u/Chaitanya5)\
**Replies:** 0\
**Last updated:** [November 19, 2022, 3:57pm UTC](https://forum.codewithmosh.com/t/angular-4-datatable/16546 "2022-11-19T15:57:32Z")

</div>

when i try to import angular-4-data-table in app.module.ts I am getting this error ./src/main.ts - Error: Module build failed (from ./node\_modules/@ngtools/webpack/src/ivy/index.js): Error: Emit attempted before Angula…

---

## [TO Learn Angular, Need prior experience in Java or JavaScript?](https://forum.codewithmosh.com/t/to-learn-angular-need-prior-experience-in-java-or-javascript/16463)

<div class="topic-metadata">

**Author:** [@nvenkat](https://forum.codewithmosh.com/u/nvenkat)\
**Replies:** 1\
**Last updated:** [November 14, 2022, 10:13pm UTC](https://forum.codewithmosh.com/t/to-learn-angular-need-prior-experience-in-java-or-javascript/16463 "2022-11-14T22:13:29Z")

</div>

I am fairly new to Angular and I am in Business management. I am interested to gain some development knowledge since my current profile is to deal with a lot of Angular work. I went through this course and feel this cou…

---

## [Cannot read properties of undefined (reading 'title')](https://forum.codewithmosh.com/t/cannot-read-properties-of-undefined-reading-title/16141)

<div class="topic-metadata">

**Author:** [@amgo85](https://forum.codewithmosh.com/u/amgo85)\
**Replies:** 0\
**Last updated:** [October 29, 2022, 2:33am UTC](https://forum.codewithmosh.com/t/cannot-read-properties-of-undefined-reading-title/16141 "2022-10-29T02:33:30Z")

</div>

Hi everone I am getting this error the add new-product page is not working // product-form.component.ts import { Component, OnDestroy, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angula…

---

## [Async Pipe not working](https://forum.codewithmosh.com/t/async-pipe-not-working/15444)

<div class="topic-metadata">

**Author:** [@amgo85](https://forum.codewithmosh.com/u/amgo85)\
**Replies:** 5\
**Last updated:** [October 2, 2022, 8:19am UTC](https://forum.codewithmosh.com/t/async-pipe-not-working/15444 "2022-10-02T08:19:27Z")

</div>

Hi Mr. Jason & All Any idea on how to fix this issue? The products list is not getting loaded from firebase.

---

## [displayName & ngIf not working properly](https://forum.codewithmosh.com/t/displayname-ngif-not-working-properly/15310)

<div class="topic-metadata">

**Author:** [@amgo85](https://forum.codewithmosh.com/u/amgo85)\
**Replies:** 21\
**Last updated:** [September 25, 2022, 9:13am UTC](https://forum.codewithmosh.com/t/displayname-ngif-not-working-properly/15310 "2022-09-25T09:13:12Z")

</div>

Hi everyone I am in the chapter titled “Project: Authentication and Authorization (1h7m)” I have been searching a lot before posting these two issues displayName doesn’t show the name though I am logged in. also logi…

---

## [SOLUTION: How to get Angular Unit Testing to run ng test](https://forum.codewithmosh.com/t/solution-how-to-get-angular-unit-testing-to-run-ng-test/10090)

<div class="topic-metadata">

**Author:** [@ChrisUribe](https://forum.codewithmosh.com/u/ChrisUribe)\
**Replies:** 4\
**Last updated:** [September 22, 2022, 2:03am UTC](https://forum.codewithmosh.com/t/solution-how-to-get-angular-unit-testing-to-run-ng-test/10090 "2022-09-22T02:03:06Z")

</div>

I really enjoyed learning how to test my Angular projects with these lessons. Also, it’s really easy to get the sample files to work. Here’s what I did: Download the “testing-demo.zip” file in the “04- Unit Testing Fun…

---

## [CORS issue on angular](https://forum.codewithmosh.com/t/cors-issue-on-angular/15299)

<div class="topic-metadata">

**Author:** [@LILAPE](https://forum.codewithmosh.com/u/LILAPE)\
**Replies:** 1\
**Last updated:** [September 20, 2022, 3:15pm UTC](https://forum.codewithmosh.com/t/cors-issue-on-angular/15299 "2022-09-20T15:15:25Z")

</div>

Hi there, Im trying to use http request to get data from API, But I got some CORS issue. I’ve tried some solution from web (e.g., reconfigure angular by add a proxy.js file). But it still not works Can anybody help ou…

---

## [Angular update needed- no point to this course now](https://forum.codewithmosh.com/t/angular-update-needed-no-point-to-this-course-now/15027)

<div class="topic-metadata">

**Author:** [@mikeimp](https://forum.codewithmosh.com/u/mikeimp)\
**Replies:** 1\
**Last updated:** [September 10, 2022, 3:58am UTC](https://forum.codewithmosh.com/t/angular-update-needed-no-point-to-this-course-now/15027 "2022-09-10T03:58:20Z")

</div>

I worked through the course up to firebase and deployment. None of the code now works. It is out of date and useless to me. This course needs to be updated. It is hard enough to learn without having to sort out bugs due …

[Previous page](https://forum.codewithmosh.com/c/angular/17.md)

[Next page](https://forum.codewithmosh.com/c/angular/17.md?page=2)
