Use the FLUX architecture with Angular JS