Category: AngularJS

Angular components communication

on Mar 17, 2016 in AngularJS, components, angular2

Modern UI is all about flexible and reusable components, I see this as an essential part of the frontend workflow. They are also so easy to use, test and develop. However, there might be a confusion about how to componentize your views/widgets in the most transparent and clear way. What make a good component? What is the optimal granularity? I will try to answer these questions.

Reusable Angular controller methods

on Jun 05, 2015 in AngularJS

Angular offers a great flexibility in the way you code. However probably weak part is that it doesn't really promote the idea of inheritance of components. It's not that simple actually although is possible to extend basically everything, overwrite or decorate. In this post I will cover a simple and effective solution for controller inheritance.

Couple of AngularJS tricks

on Aug 21, 2014 in AngularJS, Javascript, directive

This article is a selection of some tricks and techniques one may find useful while building an AngularJS applications.

AngularJS delayedModel directive

on Jan 13, 2014 in AngularJS, directive, Javascript, Projects

ngModel directive allows to setup two-way data binding updating model if the value changes in the view, and other way around. Value gets updated immediately, however sometimes it's useful to trigger update action after some delay. The next custom directive do the trick.