Search Results

Showing results for "angular"

Latest Articles

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 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 How to get query parameters from URL in Angular 5?

How to get query parameters from URL in Angular 5?

Published on September 2, 2023

πŸ“ **Title**: How to Easily Get Query Parameters from URL in Angular 5 Intro: Are you struggling to get query parameters from the URL in Angular 5? Don't worry! You're not alone. Many developers face this issue when starting their applications with query

Cover Image for Angular: How to update queryParams without changing route
query-string

Angular: How to update queryParams without changing route

Published on September 2, 2023

πŸ“’ **Hey Angular enthusiasts! Get ready to level up your skills with this hot πŸ”₯ topic: Updating queryParams without changing the route in Angular.** πŸ€” Are you facing the challenge of modifying queryParams in your Angular app without triggering a route

Cover Image for angular2 style guide - property with dollar sign?

angular2 style guide - property with dollar sign?

Published on September 2, 2023

# Angular2 Style Guide - Property with Dollar Sign? πŸ’°πŸ’‘ If you've been exploring the official Angular documentation or stumble upon examples from the [Angular.io](https://angular.io) website, you might have noticed something interesting: the usage of the

Cover Image for Angular @ViewChild() error: Expected 2 arguments, but got 1

Angular @ViewChild() error: Expected 2 arguments, but got 1

Published on September 2, 2023

# Easy Solution for Angular @ViewChild() Error: Expected 2 Arguments, but Got 1 Are you facing an error with the `@ViewChild()` decorator in Angular, specifically the error message "Expected 2 arguments, but got 1"? Don't worry, you're not alone! This err

Cover Image for How should I use the new static option for @ViewChild in Angular 8?

How should I use the new static option for @ViewChild in Angular 8?

Published on September 2, 2023

πŸ”πŸ‘Ά How should I use the new static option for @ViewChild in Angular 8? So, you're getting your hands dirty with Angular 8 and you stumbled upon this new cool feature called `static` for the `@ViewChild` decorator. But Wait! You have no clue how to use i

Cover Image for Angular pass callback function to child component as @Input similar to AngularJS way
angularjs

Angular pass callback function to child component as @Input similar to AngularJS way

Published on September 2, 2023

# Angular: Passing a Callback Function to a Child Component as @Input Are you an Angular developer trying to pass a callback function to a child component, similar to the AngularJS way? πŸ€” In AngularJS, we had the `&` parameter that allowed us to pass a c