Services in AngularJS simplified with examples

Read: 21 points cheat sheet on AngularJS controller and the $scope object What is service? It provides us method to keep data across the lifetime of the angular app It provides us method to communicate data across the controllers in a consistent way This is a singleton object and it gets instantiated only once perContinueContinue reading “Services in AngularJS simplified with examples”

How to use NodeJS, Express, and Bower to Create AngularJS apps

Read full article on the Infragistics blog Recently I heard – “IDE makes you ignorant, so do not over rely on the IDE”. Being a .NET developer, we cannot think our lives beyond Visual Studio and hence somewhere we become ignorant. We really don’t care about the behind the scene complexities. We create a projectContinueContinue reading “How to use NodeJS, Express, and Bower to Create AngularJS apps”

21 points cheat sheet on AngularJS controller and the $scope object

This blog post is a 21 points cheat sheet on the AngularJS controller and the $scope object. These points can be used a quick notes while working with two important components of Angular app controller and the $scope object Notes on $scope object $scope is a glue between the view and the controller. It connectsContinueContinue reading “21 points cheat sheet on AngularJS controller and the $scope object”

11 things about JavaScript functions .NET developers must know: Part 1

I have often seen .NET developers struggle with the JavaScript. They try to compare C# functions with the JavaScript functions and usually do some minor but conceptual mistakes while using it. As we all will agree that JavaScript functions are the backbone of the JavaScript programming language, and if one has good understanding of theContinueContinue reading “11 things about JavaScript functions .NET developers must know: Part 1”

Getting started with Unit Testing JavaScript using QUnit

It is good to have automated unit tests for the codes while developing. In unit test we test smallest unit of the code for a particular behaviour. The Unit test helps us to find bugs in the code early in the development cycle. Essentially unit test is the piece of code which verifies behaviour ofContinueContinue reading “Getting started with Unit Testing JavaScript using QUnit”

Classes in WinJS

Even if we have heard many times about the classes in the JavaScript, it is not an object oriented language. Rather JavaScript is a prototypal language. Working with classes in JavaScript can be but cumbersome syntactically. WinJS is a JavaScript library and it reduced the syntactical complexity of working with classes. In this post weContinueContinue reading “Classes in WinJS”

Learn AngularJS Hour 5: All about $scope object

In hour 1 , we learnt to get started with AngularJS. In hour 2 , we learnt about AngularJS Template. In hour 3 , we learnt about two way bindings and filter. On hour 4 , we learnt about $http service and making HTTP operations. In 5th hours of series, we will learn about $scopeContinueContinue reading “Learn AngularJS Hour 5: All about $scope object”

Learn AngularJS Hour 4: service in AngularJS and making HTTP call using $http

In hour 1 of this series we learnt to get started with AngularJS. In hour 2 of this series we learnt about AngularJS Template. In hour 3 of this series we learnt about two way bindings and filter. In this hour we will learn about, · Using Services in Angular · Calling remote service toContinueContinue reading “Learn AngularJS Hour 4: service in AngularJS and making HTTP call using $http”

Learn AngularJS: Hour 3

In hour 1 of this series we learnt to get started with AngularJS. In hour 2 of this series we learnt about AngularJS Template. In this hour we will learn about, Filter orderBy Two way binding Now filter can be applied to repeater directive by providing option filter. In filter we need to set valueContinueContinue reading “Learn AngularJS: Hour 3”

Learn AngularJS: Hour 2

In hour 1 of this series we learnt to get started with AngularJS. In this hour we will see Angular Templates and how AngularJS app can be embraced into a pattern. Let us start with writing a simple web application with static template. In below application we are printing name of the authors in HTMLContinueContinue reading “Learn AngularJS: Hour 2”