Year: 2016
-
Communication Between Components Using @Input() in Angular
In Angular 2 a component can share data and information with another component by passing data or events. A component can be used inside another component, thus creating a component hierarchy. The component being used inside another component is known as the child component and the enclosing component is known as the parent component. Components…
-
Simplifying Two-Way Data Binding in Angular
There are three types of data bindings in Angular , they are as follows: Interpolation Event Binding Property Binding If you are coming from Angular 1.X background, you might be wondering that where is the two-way data binding? Remember, when first time you saw AngularJS 1.X demo, and was just blown away by power of…
-
How to create constants in JavaScript?
Constants are immutable variables which value cannot be changed. Once, you have created a constant, its value cannot be changed. While coding in JavaScript, many times you may have come across a requirement to create constants. Before ECMA Script 6, it was not very easy to create constants in JavaScript. In this post, I will…
-
How to print or enumerate properties of a JavaScript object?
I usually come across the following requirements, How to print name of all the properties of an object? How to print only the methods of an object? How to print even non-enumerable properties of an object? In this post, we will explore all the options to iterate and print properties of a JavaScript object. Let…
-
Introduction to Angular Components
A component is a main building block of an Angular application, and an application may have any number of components. We can consider a component a particular view of the application with its own logic and data. In AngularJS 1.0, there was the concept of controllers, $Scope, and directives to bind data and logic to…
-
Proud moment- got .NET foundation coin at Microsoft MVP Summit 2016
Microsoft Most Valuable Professional summit is yearly conference for all the MVP from all across the world organized by Microsoft in their Seattle campus. In the MVP Summit 2016, I got .NET foundation coin from none other than ever inspiring Scott Hanselman . Getting .NET foundation coin was a proud moment for me. Now, I…
-
Exploring Attribute Directives in Angular
Attribute Directives are used to change the behavior, appearance or look of an element on a user input or via data from the service. Essentially, there are three types of directives in Angular: Component Structural directives Attribute directives In this post, we will learn how to create Attribute Directives in Angular . So let’s say…
-
Recap: Angular 2 Road Trip – Coimbatore
Recap of Angular Road Trip – Ahmedabad Recap of Angular 2 Road Trip – Gurgaon Recap of Angular 2 Road Trip – Indore To start with, I thank my employer Infragistics for all support in making these community events, specially Angular 2 road trip successful. We have awesome set of controls for your AngularJS 2,…
-
Recap: Angular 2 Road Trip – Ahmedabad
Recap of Angular 2 Road Trip – Indore Recap of Angular 2 Road Trip – Gurgaon To start with, I thank my employer Infragistics for all support in making these community events successful. We have awesome set of controls for your AngularJS 2, MVC, jQuery etc. application. Please download free trial of Ignite UI…
-
Git command is taking wrong user? To solve – check CredentialManager
Yes, this was a strange scenario for me. I created Angular 2 project in Visual Studio Code and wanted to push the project into a GitHub Repository. Sounds a simple requirement right? So to publish the project to a GitHub Repository, I ran following 5 commands in the order given below: git init git add…