Posts

Showing posts from February, 2017

AngularJS to Angular 4 - A Review

I started using Angular 1.0 (AngularJS) in around 2014. I LOVED IT! My first major angularjs project was a digital invitations site for my wedding and this was followed by countless others. After using ASP.NET Webforms and ASP.NET MVC in work for a long time, AngularJS made a lot of sense. It was simple, fun and fast to build things in. Then you hit the angular curve, Ben Nadel coined it in his blog: https://www.bennadel.com/blog/2439-my-experience-with-angularjs---the-super-heroic-javascript-mvw-framework.htm The learning experience was like a roller coaster. I've been rewritting an app I have using Angular 4 (Angular) to try it out and I thought it was about time I compare the two, here are my initial thoughts: AngularJS Good Simple to get started. Directives promote reuse. $http - a nice simple way to make http calls. Promises - amazing. Directive scoping - a great way to isolate things. Flexible - there's no one way to do things. Great for getting started.