ANgular js imlementation