First draft of angularjs-script. Works better than I expected to be honest.