Debugging AngularJS Apps from the Console

In AngularJS, Chrome, Debugging by bchesley0 Comments

We can access any scope even isolated ones! on the page with a simple JS one-liner: angular.elementtargetNode.scope-> ChildScope {$id: “005”, this: ChildScope, $$listeners: Object, $$listenerCount: Object, $parent: Scope…} Or for isolated scopes: angular.elementtargetNode.isolateScope-> Scope {$id: “009”, $$childTail: ChildScope, $$childHead: ChildScope, $$prevSibling: ChildScope, $$nextSibling: Scope…} Where targetNode is a reference to an HTML Node. You can grab one easily using document.querySelector. …

Front-end Code Standards & Best Practices | Roundarch Isobar

In Chrome, CSS, Dev Tools, HTML5, Javascript, Site Optimization, Web Standards by bchesley0 Comments

Front-end Code Standards & Best Practices Overview This document contains guidelines for web applications built by the Creative Technology (front end engineering) practice of Roundarch Isobar. It is to be readily available to anyone who wishes to check the iterative progress of our best practices. via Front-end Code Standards & Best Practices | Roundarch Isobar. Excellent and in depth notes …