D
D
DTX2016-03-28 17:43:58
CodeIgniter
DTX, 2016-03-28 17:43:58

How to start developing with Angular using Codeigniter for the backend?

Before that, I wrote on codeigniter using denwer. I have now learned Angular. Now I want to cross this whole thing.
The problem is that angular hangs on localhost:3000/ and CI on newproj.com

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DTX, 2016-04-04
@DirecTwiX

You just need to deploy CI side by side on any other domain (using Denver, for example) and use CORS. In CI this is done like this:
header("Access-Control-Allow-Origin: *");

G
GaserV, 2016-03-28
@GaserV

why CI? Yuzai laravel. Probably the coolest, in my opinion. I also use it in conjunction with angular. All OK. Practically

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question