added angularjs file and made some modifications to appjs