JBIDE-18141 update to latest Tern and AngularJS 0.5.0 from 08/27 and 08/28