I'm using combination of angularjs and extjs using this seed https://github.com/tnajdek/angular-requirejs-seed/
everything works fine until I got problem when I need to POST the grid store sync value.. it send OPTIONS value, not POST as usual
I've tried override ext ajax request but failed Ext.data.proxy.Ajax.override({ actionMethods : { create : 'POST', read : 'GET', update : 'POST', destroy: 'POST' } });
this is the sync button var saveButton = Ext.create('Ext.Action', { text: 'Save', disabled: false, handler: function(){ grid.getStore().sync(); } });
this is the requested page
this is non-angular version
the extjs code wrap inside angular controller, how could I solve this