Blog

Page 113 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for Can"t bind to "routerLink" since it isn"t a known property

Can"t bind to "routerLink" since it isn"t a known property

Published on September 2, 2023

# 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

Cover Image for How to write unit testing for Angular / TypeScript for private methods with Jasmine
unit-testing

How to write unit testing for Angular / TypeScript for private methods with Jasmine

Published on September 2, 2023

# 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

Cover Image for How can I write data attributes using Angular?

How can I write data attributes using Angular?

Published on September 2, 2023

# 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

Cover Image for What is the proper use of an EventEmitter?

What is the proper use of an EventEmitter?

Published on September 2, 2023

πŸ”₯πŸ“ 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

Cover Image for What is an unhandled promise rejection?
javascript

What is an unhandled promise rejection?

Published on September 2, 2023

# 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

Cover Image for Use component from another module

Use component from another module

Published on September 2, 2023

# 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

Cover Image for How to add bootstrap to an angular-cli project

How to add bootstrap to an angular-cli project

Published on September 2, 2023

# 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

Cover Image for How to add font-awesome to Angular 2 + CLI project

How to add font-awesome to Angular 2 + CLI project

Published on September 2, 2023

πŸŽ‰πŸ‘¨β€πŸ’»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

Cover Image for What is the best way to delete a component with CLI

What is the best way to delete a component with CLI

Published on September 2, 2023

# 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

Blog | Matheus Mello