making the js code minification proof
update angular and angular-resource