updated the read for using angularjs