TL;DR: We can test components as we were used to test directives.
Yes, you heard all-right, there is a new kid in town and last Friday Angular 1.5 was released bringing us, among other updates, the component sugar. If you want to know more about it Todd Motto explored the component method back in November when it was still beta. Continue reading
Every time that I need to implement a registration form there is some source of country selector; thus I decided to create a small component to generate the list of countries as options of the
select element. Continue reading
Before I left my previous company, I decided to introduce the mediator pattern in order to encapsulate the communication between our data models and the WebSocket. Although the implementation was a bit simple, I think it has a lot of power and future possibilities, making the code cleaner and unit testing live updates easier. Continue reading