add angular rails templates and added static code