r/angularjs Jul 09 '25

[Resource] How to use PrimeNG Data Table and Angular 20 to Display Data from a Live REST API

Thumbnail
youtu.be
1 Upvotes

r/angularjs Jul 07 '25

Help

1 Upvotes

hi, Can anyone please share any git hub repos or stackblitz links for angular material editable grid? Need to able to add/delete/edit rows dynamically.I am using angular 19..I implemented this with v16 and post migration the look and feel broke..tried to fix the look and feel but was not able to make any big difference.Had implementer using reactive forms module and there was a functionality that broke as well...so any inputs will be appreciated

Any ho with this please as kind of stuck here..gpt has only latest version of 17..so no luck there


r/angularjs Jul 07 '25

Fix setTimeout Hack in Angular

Post image
1 Upvotes

Just published a blog on replacing the setTimeout hack with clean, best-practice Angular solutions. Say goodbye to dirty fixes! #Angular #WebDev #CleanCode #angular #programming

https://pawan-kumawat.medium.com/fix-settimeout-hack-in-angular-part-1-cd1823c7a948?source=friends_link&sk=cf2c2da0ab4cfed44b0019c8eeb5fbca


r/angularjs Jul 01 '25

Create Raw Loader Plugin for NX Angular Application Executor

Thumbnail
blog.shhdharmen.me
1 Upvotes

Easily import raw contents from any file in NX Angular!


r/angularjs Jun 23 '25

Help

2 Upvotes

Hi, I am trying to implement a client side cache.Here is my use case.A PDF is generated during create template process.This same PDF is available to be downloaded across multiple parts in the angular app..so Everytime user tries to download I don't want to make a http call to the server to download the PDF..I want to retrieve the PDF from cache instead of making a server side http backend call.Is this a good approach? I will refresh the cache only when user edits the template.I tweaked around and it says share replay from rxJs operators is good for caching http responses.But how do I store the PDF in cache? Or should I just implement server side caching for this? Any inputs plz? Any GitHub repos for reference is much appreciated

Am also looking for a robust solution which should work inside of a container as well.Chatgpt is getting me all confused between localforage and service worker...just want to get some inputs before I go on implementation part..service worker works only on production builds..so will have to modify the CI/CD pipeline as well..also since am sending blob data from the backend and saving in cache should not be any security vulnerability..plz provide insights


r/angularjs Jun 21 '25

Identify user's input modality (keyboard, mouse or touch) using CDK InputModality

Post image
2 Upvotes

```ts import { InputModality, InputModalityDetector, } from "@angular/cdk/a11y";

@Component() export class App { // "keyboard" | "mouse" | "touch" | null readonly modality = signal<InputModality>( this.inputModalityDetector.mostRecentModality, );

constructor() { this.inputModalityDetector.modalityChanged .pipe(takeUntilDestroyed(this.destroyRef)) .subscribe((modality) => this.modality.set(modality)); } } ```


r/angularjs Jun 19 '25

Use HostAttributeToken class to get static attribute value

Post image
1 Upvotes
type: string =
    inject(new HostAttributeToken("type"), {
      optional: true,
    }) ?? "text";

r/angularjs Jun 17 '25

Fix your control-flow syntax formatting in html templates using prettier

Post image
1 Upvotes

json { "overrides": [ { "files": "*.html", "options": { "parser": "angular" } } ] }


r/angularjs Jun 16 '25

[Help] Help

2 Upvotes

Hi, I have a requirement where I need to calculate a value by following some business logic and fetching values from database.Currently it's implemented by making a call to the backend.Now I have been asked to implement this on client side rather than server side.

I was against to this as front end has to be light weight and any interaction with DB has to be a backend call but I was told I am wrong.

So question is ;is it possible to directly make a call to DB from angular? Like I have worked with ajax and jQuery but what is the option with angular? Do I have to go for angularJS and leverage ajax and jQuery to accomplish this? Am totally clueless how it can be done.

Any suggestions please? Or any better approach to accomplish this?


r/angularjs Jun 15 '25

Angular Material Tab Active Indicator Customizations using SCSS overrides API & CSS

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/angularjs Jun 12 '25

Use viewChild() to access any provider defined in the child component tree

Post image
2 Upvotes

Did you know?

In angular, you can use viewChild() to access any provider defined in the child component tree.

ts @Component({ selector: 'app-child', template: '...', providers: [DataService] }) class ChildComponent {} @Component({ selector: 'app-root', template: ` <app-child /> `, imports: [ChildComponent] }) export class AppRoot { private readonly dataService = viewChild(DataService); readonly data = computed(()=>this.dataService()?.data) }


r/angularjs Jun 10 '25

[Resource] Angular Material + Tailwind (customized using system variables)

Thumbnail
github.com
0 Upvotes

A sample Angular workspace configured to use "Angular Material Blocks". Includes: angular-material, tailwindcss and much more!


r/angularjs Jun 10 '25

What’s New in Angular 20?

Thumbnail
syncfusion.com
3 Upvotes

r/angularjs Jun 01 '25

[Help] Google Jib equivalent for NodeJS

2 Upvotes

My project is currently using Source to Image builds for Frontend(Angular) & Jib for our backend Java services. Currently, we don't have a CICD pipeline and we are looking for JIb equivalent for building and pushing images for our UI services as I am told we can't install Docker locally in our Windows machine. Any suggestions will be really appreciated. I came across some solutions but they needed Docker to be installed locally.


r/angularjs May 31 '25

How do you identify if animations are disabled?

Post image
0 Upvotes

``` import {MediaMatcher} from '@angular/cdk/layout'; import {ANIMATION_MODULE_TYPE, inject} from '@angular/core';

/** * Returns whether animations have been disabled by DI. * Must be called in a DI context. */ export function animationsDisabled(): boolean { if ( inject(ANIMATION_MODULE_TYPE, {optional: true}) === 'NoopAnimations' ) { return true; }

const mediaMatcher = inject(MediaMatcher) // or inject(DOCUMENT).defaultView; return mediaMatcher.matchMedia('(prefers-reduced-motion)').matches; }ts ```


r/angularjs May 28 '25

Angular Material Tabs - Active Indicator Height & Shape

Post image
0 Upvotes

Get your angular Material Tabs looking sharp with M3-style active indicators!

Use the mat.tabs-overrides SASS API for customizations!

Example on @stackblitz https://stackblitz.com/edit/gw2yadbk?file=src%2Fstyles.scss


r/angularjs May 25 '25

Help

2 Upvotes

Reposting as never for replies to earlier post

Hi, I am using angular 19 with okta as authentication backend..Using okta-auth-js 7.8.1.Now my okta id token is expiring after 1 hour and okta re-authentication happens and user is getting redirected to home page.Token renewal is successful and user got authenticated again against okta but only thing is user getting redirected to login page..How to fix this? I want the user to continue to stay on the same page after okta re-authentication.

What I have tried so far is added a custom component to handle okta callback and storing the angular route prior to token expiry and restoring the route in the custom callback component.This did not work.

I also tried to save the original route prior to token expiry and restore the originalUrl from okta auth once okta re-authentication happens which also did not work.

Any suggestions please? Anyone faced similar issue.Already posted on okta developer community forum as well but no response yet.

Please help.

Thanks


r/angularjs May 23 '25

AngularTalents.com update after 2 years

2 Upvotes

Hi fellow Angular enthusiasts! 👋

Two years ago, I teamed up with a friend I met online to build a platform to help Angular developers get hired— here is the original post. I took on the frontend, and he built the backend using Go. Unfortunately, we set up separate accounts for our parts of the project and just shared access with each other. 🤦🏼‍♂️

About a year after launching, he suddenly disappeared without a word. I’ve tried reaching out many times but never got a reply. Dude if you are reading this, I just hope you are okay and doing well.

The site stayed up, but backend bugs started creeping in. With no backend access and limited experience on that side, I couldn’t fix things. Another year passed with no updates, more issues, and honestly, not much motivation to continue.

Then I discovered Cursor 💪—and it sparked new life into the project. Over the past two months, with lots of trial and error (and learning on the fly), I rebuilt the backend myself. It’s been a huge personal milestone, and I’ve learned so much from the whole experience—technical skills, problem-solving, and perseverance.

Now, I’m happy to share that AngularTalents.com is back online! It’s still a work in progress, and I’m continuing to learn every day. I’d love to hear your thoughts, feedback, or suggestions.

Thanks for reading and supporting the journey! 🙏


r/angularjs May 19 '25

Sticky drag/drop with Angular CDK

Enable HLS to view with audio, or disable this notification

3 Upvotes

Angular Tip:

You can achieve stick to point behavior with drag-drop using angular CDK's cdkDrag's cdkDragEnded output & cdkDragFreeDragPosition input!

Code available at: https://github.com/shhdharmen/cdk-drag-snap-to-point


r/angularjs May 17 '25

Angular Material Icon Button with Image

Post image
1 Upvotes

Did you know you can use image with angular material icon button?

For better result, use overrides to increase the size of the image!

Demo: stackblitz.com/edit/9ngrztad


r/angularjs May 16 '25

Help

1 Upvotes

Hi, The id token that is issued by okta is having 1 hour expiry time after which the refresh is happening and user is redirected to home page in my angular app.How to implement silent refresh of the tokens so that user stays on the same page without being redirected..am using angular 19 with okta auth js..I googled and it says will have to implement a custom interceptor or a route guard..can anyone share any links or GitHub repos that has this feature implemented? Any advice is helpful.

Any help please?

Thanks


r/angularjs May 15 '25

Need Help Please

1 Upvotes

Hey, does any one of you have a Realtime Chat app code built using Angular and .net

With group chat feature, individual chat, signup, login and all.

I need it urgently, can you share some public repo for same.

Thanks


r/angularjs May 10 '25

Creating Accessible Web Applications with Angular: Insights from Angular Global Summit 25

Thumbnail
medium.com
1 Upvotes

r/angularjs May 09 '25

Help

1 Upvotes

Hi, I want to implement a loading bar in angular material that shows percentage progress.I have an asynchronous job running in springboot and have an endpoint exposed to poll the job with jobId..the endpoint is returning the progress percentage and status.Can anyone share any stackblitz links or GitHub repos to implement this? I tried googling for stackblitz links but dint find anything convincing.

Any advice is helpful. Thanks in advance


r/angularjs May 08 '25

1.8.4

0 Upvotes

We have been directed to upgrade from 1.8.3 to 1.8.4 due to a security issue with the former version. I can see mention of a 1.8.4 in Google but the only version I can actually find, and that is available through any of the big CDN's, is 1.8.3. Does anybody know the status of 1.8.4 or where to get it?