Saving fool experiment with angularjs