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…
Testing with Jasmine + Karma
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…
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…
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…
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…
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,…
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…
Getting familiar with Strict Contextual Escaping in Angular
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.…
Angular’s one-time data bindingThis 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…
Data Binding with AngularJS
Data binding is the most useful and powerful feature of…