Echo clone in AngularJS & NodeJS