Published in Dev Jam·Apr 29, 2019Member-onlyCreating and Unit Testing a Theme Switcher Directive in AngularIntroduction A while ago I needed a theme/style switcher which could switch themes during runtime. For example, with Theme A activated my buttons would be red, but with Theme B activated my buttons would change from red to blue. There are various ways of accomplishing this, so I decided to do…Java Script12 min read
Published in Dev Jam·Apr 15, 2019Member-only5 Tips & Best Practices to Organize your Angular ProjectThere are different ways of organizing Angular projects. Many of them follow a pattern of using a shared and core module, which we’ll be discussing in this article amongst other tips to keep your codebase clean and maintainable. While this architecture is suited for most projects, larger enterprise projects or…Angular6 min read
Feb 13, 2019Member-only5 Tips Before Deploying your Angular Apps to ProductionSo you’ve finally finished developing your Angular app 🙌. You’ve used the latest techniques, followed all the best-practices, neatly added unit tests to obtain 100% code coverage. All that’s left is running ng build —-prod and publish the /dist folder, right? …Java Script6 min read