No $scope soup, bindToController in AngularJS

added by bpwndaddy
7/24/2015 1:04:55 PM

535 Views

Namespacing, code consistency and proper design patterns really matter in software engineering, and Angular address a lot of issues we face as front-end engineers really nicely. I'd like to show you some techniques using the bindToController property on Directives, that helps clean up your DOM-Controller namespacing, helps keep code consistent and help follow an even better design pattern when constructing Controller Objects and inheriting data from elsewhere.


0 comments