Updated AngularJs and RequireJs to newest version

Codes in sub components have been changed accordingly