Using Controller-as-a syntax and why it’s important

Using Controller-as-a syntax and why it’s important

What is “controller as a” syntax ?

It’s a new way of defining your controller. Instead of using $scope, we can use the ‘this‘ in its place.This helps with the architecture of…

Read More

Testing with Jasmine + Karma

Testing with Jasmine + Karma

The Setup

AngularJS has many testing frameworks that can be used such as qunit, mocha, protractor, and so on. This particular blog post will be using Jasmine. Jasmine is behavior-driven development framework for…

Read More

Which one should you use: angular. copy or angular. extend?

Which one should you use: angular. copy or angular. extend?

As you’d expect, the correct answer to this questions is not between which one to use, but rather which one you need. And the best person to answer this is…

Read More

Getting to know $watch

Getting to know $watch

This week I came across a $watch, and thought I’d share what I had learnt about it. First, you need to understand how the Angular digest cycle works.


The Digest Cycle…

Read More

Getting to know Kendo with AngularJS

What is Kendo UI

Kendo UI is a framework based on HTML5 and jQuery. It helps build an interactive web application by providing several features for a fast, rich, and responsive web applications…

Read More

Getting started with AngularJS

 

What is AngularJS?

 

In single line AngularJS is a structural framework for dynamic web apps.Dynamic means during run time.It is used to develop SPA(single page application).

  In a SPA,…

Read More

Using AngularJS Directives

What are Directives ?

AngularJS directives are what controls the rendering of the HTML inside an AngularJS application. At a high level, directives are markers on a DOM element that tell…

Read More

Getting familiar with Strict Contextual Escaping in Angular

The Problem:

While working on a recent project, I needed to show the highlighting that was part of the Solr response. The highlighting was done with html markup as part of the response.…

Read More

Angular’s one-time data binding

This week while working with AngularJS, I came across a problem where a variable within $scope being reassigned to a new value every time a function was executed. I was…

Read More

Data Binding with AngularJS

AngularJS is a JavaScript framework developed by Google. Angular is what HTML would have been, had it been designed for applications.


Data binding is the most useful and powerful feature of…

Read More