update angular.js parts