Our Angular applications use a lot of packages, modules and other files to work in the way they do. All the packages with their versions that our project depends on is what is contained inside this file called package.json. Anything that needs to be changed in the package can simply be updated inside the package.json… Continue reading All about your package.json
Tag: #js
Common errors faced on compilation in Angular
Recently, I was working on a project where in I was trying to connect Angular to Firebase database to do some back end work with Angular. The compilation after connecting the Firebase to my Angular application threw buckets of errors to me. That is when I realized an article on the common errors we face while… Continue reading Common errors faced on compilation in Angular
Debugging Angular Apps
We have been working with a variety of concepts in Angular, but when it comes to debugging our Angular application, that’s when it becomes one of the hardest parts of the job. The very first step when it comes to solving the errors in our application is reading and comprehending the error messages correctly. Most… Continue reading Debugging Angular Apps
Video: Reactive Forms in Angular
In Angular, Forms are of two types: Template-driven Forms Model-driven Forms, also known as Reactive Forms Reactive Forms are used when there is some immutable data model, which is mapped to a database.To learn more about the working of Reactive Forms, refer to the blog post: Reactive (Model-driven) Forms in AngularĀ orĀ Watch this video on… Continue reading Video: Reactive Forms in Angular
Directives in Angular
Want your DOM (Document Object Model) element to behave in a certain manner, yes you can do that in Angular. We can attach a specified behavior to a DOM element in our angular application. This is done with the help of a decorator @Directive.Ā Directives are a like a marker on our DOM elements which… Continue reading Directives in Angular
Wildcard Routes in Angular
In a routing-based angular application, we create different routes to be directed to, and for that we create different components. If you are new to routing, refer to my previous article on how to create basic routes in Angular here. To start with understanding what are wildcard routes, let us first assume that we have… Continue reading Wildcard Routes in Angular
JavaScript Modules vs. NgModules
This article explains in short about the difference between the JavaScript modules and NgModules and that how they are used in Angular. Modules help organize our code and use it in an efficient way. The manner in which the code is organised is different for JavaScript and Angular but the ultimate purpose of a module… Continue reading JavaScript Modules vs. NgModules
Course: Angular for Beginners
To all the beginners of Angular out there, here is a step-by-step video course for you all. This course will focus on creating web applications using the JavaScript framework AngularĀ and will walk us through a journey of learning how to install Angular to learning how to route from one page to another using components, directives,… Continue reading Course: Angular for Beginners
Video: ViewChild for Component Communication
To do component communication in ANgular, there are many ways. One of those is using ViewChild. Watch this video to learn how to make use of the decorator @ViewChild() for the communication among our components. Happy Learning!
Using Redux in Angular
In this blog post, we will see how to integrate and use Redux with Angular. Before beginning, let us have a basic understanding of what Redux is! Redux is an open-source JavaScript library that can be used with any other view library like React, Angular etc. The best perk of using Redux is that in… Continue reading Using Redux in Angular