No-Library (pure JS), HTML, CSS, JavaScript
jQuery 2.0.0b1, HTML, CSS, JavaScript
jQuery 1.8.3, HTML, CSS, JavaScript
AngularJS 1.0.3, HTML, CSS, JavaScript
This is an example of how to use a custom service to facilitate communicate between multiple controllers using $rootscope as an event bus. I added in a directive just for fun.
replace text that would be too long to fit an overflow:hidden block with an abbr and an elipse.
Mootools 1.4.5, HTML, CSS, JavaScript