Lessons learned working with Angular.js