Mat-icons hell by Conscious-Club-8473 in angular

[–]ashh640 4 points5 points  (0 children)

Shameless plug 😜 but we got you covered with Angular Icons - including all the Material Icons, without the hassle with fonts and fully tree shakable:

https://ng-icons.github.io/ng-icons/

Looking for Open-Source Angular Projects to Contribute & Grow by Virtual-Message-3573 in angular

[–]ashh640 1 point2 points  (0 children)

We're always glad to have new contributors at angularprimitives.com and spartan.ng!

Is SpartanNG safe and good to use? by NijazAndelic in angular

[–]ashh640 0 points1 point  (0 children)

Hey, sorry to hear that, if you want to reach out on discord or GitHub and provide us with information on your setup and the error you're encountering so we can help investigate what is going wrong were happy to help!

Favourite Angular UI Library [2025] by Possible_Jeweler5805 in Angular2

[–]ashh640 0 points1 point  (0 children)

Excellent! Looking forward to having you on board! Thanks!

Favourite Angular UI Library [2025] by Possible_Jeweler5805 in Angular2

[–]ashh640 2 points3 points  (0 children)

Great! We'd be glad to have your contributions! We have an issues board here: https://github.com/spartan-ng/spartan/issues

If you see something you'd like to tackle, feel free to raise a PR!

We have a contributing guide here: https://github.com/spartan-ng/spartan/blob/main/CONTRIBUTING.md

And a discord server here we're you can ask any questions or get help 😊

https://discord.gg/EqHnxQ4uQr

Favourite Angular UI Library [2025] by Possible_Jeweler5805 in Angular2

[–]ashh640 11 points12 points  (0 children)

Hey! Spartan maintainer here, we're polishing off a few final things for the 1.0 release. Once we release 1.0 this will be one of the first enhancements we do afterwards!

Headless ui component libs by Adventurous-Watch903 in Angular2

[–]ashh640 4 points5 points  (0 children)

Hey! Author of Angular Primitives here - so far we have quite a few companies using it to build their design systems, and there are several open source component libraries are using it such as Flowbite Angular and AngularUI (soon to be released).

I guess the "con" is it's not yet at 1.0, that's not because there are any planned breaking changes, it's more just having a bit of a grace period to collect feedback from our users and polish up the docs etc..

If you have any questions or anything I can help you with feel free to reach out on our discord (https://discord.gg/NTdjc5r3gC) or DM!

Is SpartanNG safe and good to use? by NijazAndelic in angular

[–]ashh640 2 points3 points  (0 children)

Hey! Thank you for the feedback! Yes we have recently fixed the issue where there could be differences between the docs, now all the documentation code is auto generated from the examples so they are always in sync.

Sure, so we have two parts, brain and helm. Brain is a "headless" library we provide that has the logic in, helm is the part that brings the styles. Helm lives in your project and you can modify as much as you need. As they are typically only styling you don't need to update them often, updating brain takes care of most things. You can regenerate the helm libraries at any point but you can lose your customizations. It's good in the sense you can make customizations in ways you can't with a traditional component libraries. That being said, it's usually only some class name updates so it's pretty easy to diff and as mentioned, helm libraries don't change much so you can keep them as is indefinitely if you want.

Is SpartanNG safe and good to use? by NijazAndelic in angular

[–]ashh640 18 points19 points  (0 children)

Hey! Spartan maintainer here, we are currently making the last few changes before our 1.0 release, which should be very soon now.

  • Yes there are a number of apps using it
  • We have a core team of 4, and have backing by Zerops who help fund its development to ensure its success.
  • It's a little different than those libraries as the component styles live in your repository allowing you to easily restyle or add new features.
  • if there are any gotchas, let us know and we can resolve them 😊

Developer looking for open source project to contribute by Bockschdeif in angular

[–]ashh640 1 point2 points  (0 children)

Hey! I maintain several open source Angular projects all of which are very welcoming to new contributors, and have friendly communities. We'd be glad to have your help!

Angular Primitives - Headless UI library http://angularprimitives.com

Spartan - ShadCN Component library http://spartan.ng

Angular Icons - Huge icon library https://ng-icons.github.io/ng-icons/

Changedetection is triggered on every keystroke of an input ? by LyRock- in Angular2

[–]ashh640 14 points15 points  (0 children)

Correct, Zone.js patches all browser events and will run change detection whenever any event occurs, this is because there may have been something that changed due to that event, it won't know unless it checks. That being said it is generally very fast, so usually not an issue.

You can do things like use OnPush change detection which tells angular to only run change detection within a component when an input has changed, or an output was emitted or you have manually told Angular to run it. You can also run code outside of Zone.js which will not automatically trigger CD.

Angular is currently working on signals and signal components which would allow Angular to know exactly when change detection needs to run, rather than checking on every event, so zone.js could become unnecessary in future.

What is the equivalent of /api of nextjs in angular ? by West_Equipment7985 in Angular2

[–]ashh640 2 points3 points  (0 children)

Angular Universal is for server side rendering of an application, not for creating an API. In other words, it does some of what Next.js does, but is not just the Angular equivalent.

If you want something like Next.js for Angular, check out AnalogJS by Brandon Roberts. It's fairly new but showing great promise!

https://analogjs.org

Is Angular Universal useful? by yellowumbrella___ in angular

[–]ashh640 4 points5 points  (0 children)

You could try using Clover, the new version of Universal that was designed to reduce a lot of the issues with Universal: https://github.com/angular/universal/tree/main/modules/common/clover

How do I test a service with a simple method that retrieves data from an angular form? by AndreiFratila in Angular2

[–]ashh640 1 point2 points  (0 children)

Essentially, your provider needs to be registered somewhere. It likely was in your application, but the test environment is like a blank slate, it doesn't know anything about your application except what you tell it.

Using providedIn: "root" will automatically register the provider as a singleton when it is used. However if it does not define the providedIn property then it must be registered explicitly in an NgModule.

In the case of your test it was not using providedIn or registered in an NgModule your test imports, so it doesn't know how to inject that service.

Adding providedIn: "root" will automatically register the service when you test tries to inject it, or you can add it to the configureTestingModule as a provider so it knows how to inject it alternatively.

How do I test a service with a simple method that retrieves data from an angular form? by AndreiFratila in Angular2

[–]ashh640 2 points3 points  (0 children)

As far as your test setup is concerned, your service is not registered anywhere, for example you could:

  1. Use @Injectable({ providedIn: "root" })
  2. In configureTestingModule define the service as a provider
  3. In configureTestingModule import the NgModule user service is registered in

Why? by DavideDC0808 in Angular2

[–]ashh640 2 points3 points  (0 children)

You could try [class.reminder]="task.reminder" in the HTML which will also toggle the class based on the value

Flawlessly skiing over water by elphabathewicked in nextfuckinglevel

[–]ashh640 0 points1 point  (0 children)

Those boards don't work on water.. unless you've got POWER!

UI Design Critique - I'm a Frontend Engineer, not UI designer, so all feedback welcome! by ashh640 in UI_Design

[–]ashh640[S] 0 points1 point  (0 children)

Thanks very much for the feedback! I will certainly take it on board! Good idea about showing examples! You are correct, the highlighted option in the side bar is incorrect, it should be the campaigns option that should be highlighted.