did optimization of code by removing the angulajs