Tag: Javascript
-
11 things about JavaScript functions that .NET developers should know: Part 2
Read full article on the Infragistics blog This is the second part of the series in 11 Things about JavaScript Functions that .NET Developers Should Know . In part 1 we discussed the following topics, JavaScript functions as an expression JavaScript functions as a statement Return statements in JavaScript functions Parameters in JavaScript functions The […]
-
Directives in AngularJS simplified with examples: Part 1
Thanks First At the very beginning of this post, I want to give credit to following two online courses. What I learnt from these courses, converted in this post. · AngularJS Custom directive course by Dan Wahlin.[Note: Click on this link to get 15% discount] · AngularJS Directives Fundamentals by Joseph Eames on Plural Sight […]
-
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 per […]
-
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 project […]
-
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 connects […]
-
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 the […]
-
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 of […]
-
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 we […]
-
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 $scope […]
-
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 to […]