angularjs port. updated readme.