added angularjs codes