updating angularjs, jquery and other libraries.
starting migration to now angularjs, not compatibile with actual code
generalize unpack values from distinct function result
more migration to angular 1.2.*