Blog
Page 113 of my articles, tutorials, and thoughts
Latest Articles
Can"t bind to "routerLink" since it isn"t a known property
# Can't bind to 'routerLink' since it isn't a known property: Easy Solutions and Common Issues π₯π So, you're working with Angular 2 and experiencing an error when trying to bind the `routerLink` property in your header component? No worries, we've got y
How to write unit testing for Angular / TypeScript for private methods with Jasmine
# How to Write Unit Testing for Angular / TypeScript for Private Methods with Jasmine π» Testing private methods in Angular / TypeScript can be tricky since they are not directly accessible outside of the class. However, there are a couple of solutions th
How can I write data attributes using Angular?
# How to Write Data Attributes Using Angular ππ» Are you struggling to write data attributes in your Angular template? Don't worry, you're not alone! Many developers face this issue when trying to bind data attributes in their templates. In this blog pos
What is the proper use of an EventEmitter?
π₯π The Proper Use of an EventEmitter: Simplifying Angular Communication π£π₯ Have you ever found yourself scratching your head, wondering how to properly use an EventEmitter in Angular? π€ Well, fret no more! In this blog post, we'll demystify the use o
What is an unhandled promise rejection?
# What is an unhandled promise rejection? π€ You're not alone! Many developers, especially those new to JavaScript and frameworks like Angular, often come across the error message "Unhandled Promise Rejection". It can be confusing and frustrating when you
Use component from another module
# The Ultimate Guide to Using Components from Another Module in Angular ππ‘ So you've created an Angular 2 app and decided to separate your components into modules. But now you've run into a little hiccup - you want to use a component from one module in
How to add bootstrap to an angular-cli project
# How to Add Bootstrap to an Angular-CLI Project So, you want to add Bootstrap 4 to your Angular-CLI project? Great choice! Bootstrap is a popular CSS framework that can make your web app look sleek and professional. However, adding Bootstrap to an Angula
How to add font-awesome to Angular 2 + CLI project
ππ¨βπ»Hey there, Angular enthusiasts!π Are you ready to level up your Angular 2+ projects by adding some font-awesome awesomeness?πͺπ I'm here to guide you through the process step by step, so let's dive in and make your project shine!β¨β¨ ## π§ Prepar
What is the best way to delete a component with CLI
# The Best Way to Delete a Component with Angular CLI π So you want to get rid of an old Angular component but you're running into some trouble with the command line interface (CLI)? Don't worry, you're not alone! Many developers have faced this issue, e








