There are a lot of resources and examples available on the web for learning AngularJS(1.x branch). Some are good, some are bad and some are super ugly and confusing. The recommended approach for building scalable applications with AngularJS is to follow the controllerAs syntax. In this post, I will be breaking down a really ugly legacy controller and converting it to … [Read more...] about Refactor Legacy AngularJS Controller to ControllerAs Syntax