Update angularjs version and formatting fixes