change structure of angular js files