Posts

Showing posts from December, 2015

My Learning Angular as a Backend Engineer - first time

Recently I wanted to try hot new framework called AngularJS. As someone who's spent years writing backend APIs, I thought - hey, maybe it's time to see whateveryone is talking about (in Frontend)  So I decided to write down some key points and insights from my experience of learnig into AngularJS. Coming from a backend world where everything is neat code and database queries, my first reaction was like "Whoo, what's all this DOM manipulation stuff?!" Before AngularJS, I had used some jQuery and writing tons of JavaScript to update few webpages. But then AngularJS comes along and changes everything we did. Some cool things I found while learning: Two-way data binding is amaaazing! Just add ng-model to an input and boom - my JavaScript object updates automatically. No more manual DOM updates! When I first saw this working I was like "why didn't we have this before?!" Directives are pretty neat. At first they looked sca...