Modify flowCtrl, change $broadcast for $emit, work for me