Flux architecture that implemented of ES5 for AngularJS