Rewritten everything,

angular 1.2.14 used, js-files copied under scripts to
avoid external dependencies