I am using [email protected] inside angular to call smart contract functions,
I want to know how to watch a smart contract event in angular?
using javascript is easy and it works :
sEvent.watch(function(error, result){
if (!error)
{
console.log(result);
} else {
console.log(error);
}
});