music triads with angular and teoria.js