implementing some basic angular js