added AngularJS and seperated JS libraries to res.js
now empty as libraries have been exported
renamed res.js to lib.js