updated
implementation with angularjs (initial commit)