Ontraport/frontend-interview-test-short — pull request #11 by doriansmiley (2014-11-14 01:24:55+00:00)
Title: checking in test

I went with a jQuery plugin because the instructions stated not to modify the markup in the original page. Putting view resolution code in Aggular controllers is generally not best practice, so without being able to use any ng directives jQuery seemed like a natural fit. I used an open source framework I created to plugin jQuery to my JavaScript object. I believe in using prototypal inheritance and not tightly coupling objects to jQuery. Even the jQuery selectors and events could be done natively making the plugin object extremely portable as at that point it's just a plain old JavaScript object. I was trying to finish quickly though which is also why you don't see a script loader in place like Modernizr.