the storage manager build by angularjs