Home » JavaScript » Angular.js (page 20)

Angular.js

Web-components like AngularJS directives

As you may already know web components consist out of a set of technologies which are combined to create a custom element for use in your HTML markup. The main additions, as described in several blogposts, are HTML imports, Shadow Dom and Templates combined with isolated scripts and styling. (If these concepts are new to you i suggest you read up ...

Read More »

New Features in AngularJS 1.3

Now that Angular 1.3 has been officially released, I thought I would talk about some of the new features that developers would like to know, to include: Performance improvements One-time bindings ngModel.$validators ngMessages ngModelOptions If you are still using IE 8 as your main browser, first I want to say WHY? Angular 1.3 is dropping support for this old browser. ...

Read More »

Learning Angular: What is the scope of your directive?

This might create quite some debugging headaches, especially in a larger application. Things don’t bind properly, have different data on the scope than you’d expect etc.. When you define your directives, you have to be really careful about their scope. This article is part of my “Learning NG” series, presenting some of my adventures while learning Angular. Check out the ...

Read More »

AngularJS UI-Router – Introduction

This is the first post of a series of 3, presenting AngularJS UI-Router library: Part 1: Introduction Part 2: Components AngularJS UI-Router – Example         Introduction AngularJS is a well-known Javascript framework nowadays. It provides a great support to create SPA (Single Page Applications), easing some of the tedious stuff needed when writing client-side Javascript applications (boilerplate ...

Read More »

ngEurope: about AngularJS 1.3, new router and the future 2.0

Being passionate about AngularJS, me and two fellow JDriven colleagues visited the ngEurope conference. The amount of presentations during ngEurope was somewhat overwhelming, especially during the mornings without any scheduled break. Good thing I made some notes, that the slides are already available on-line and that someone published quite detailed notes for all sessions. Without all this I might simply ...

Read More »

RIP AngularJS! Oh Sorry, RIP scope, ng-controller, DDO, jqLite and whatever you like in AngularJS

I am  Software Developer, specifically Java Developer, spending most of the time writing back-end part of the applications. I can write basic HTML/JavaScript/CSS stuff to get the things done when needed. I didn’t have much passion on HTML/JavaScript and neither I am good at web development. I just has good enough knowledge to get the front-end work done for my ...

Read More »

Single Page Apps

Single Page Apps are becoming increasingly popular as the demand for highly responsive apps is increasing. We could be using Ajax and Javascript to do this, but we will be using Angular as it is a structural framework for dynamic web-apps, efficient and easy to use, as described by the people who built it. We’re going to create a simple ...

Read More »

Unit Test AngularJS Controller With Jasmine

Last time I demonstrated how to Consume RESTful API With Angular-HAL, and now I want to show you how to unit test my AngularJS controller code withJasmine, a behavior-driven development framework for testing JavaScript code. BDD and Jasmine I’m a big fan of Test-Driven Development (TDD). And I always want to write unit test for my code. But not everyone ...

Read More »