Implement the rpm convention using angular.js and react.js