angularjs

ng-click and double post

Recently I was fixing a bug in an application written in angularjs which turned out to be pretty interesting for me. At first I couldn’t reproduce the error and just when I got frustrated it happened exactly as stated in the issue tracker. As it turned out the problem was caused by fast clicking on the same button…

Read

AngularJs modules to the rescue

We’ve declared a new module called myApp and stated that it depends on another module called ngResource. In line 3 we are declaring a factory for itemsStorage that requires resource service and inject it as a value of parameter. As you may suspect under the hood the dependency injection mechanism inspects parameter…

Read

AngularJs – my new superhero tool.

Introduction to angular

Read