added basic angular functionality