Welcome Guest, Not a member yet? Register   Sign In
CI + Angular 2-5
#1

Hi, I have project which has 3 user types, each have its own panel.
This question needs some knowledge about Angular also. 
I am asking it here to get from CI developers that faced same problems as me
Project structure is as follows:


Applicaton
    Controllers/
        admin/
        user_type2/
        //general user controllers
    Models/
        admin/
        user_type2/
        //general user models



So far there was not any problem. But we decided to build a mobile app for general users and redesign general users front end.
To avoid extra work I want to build front end in Angular so I can use builded API both for mobile app and for website. 
I want touch admin and user_type2 panels.

Now my problems are:
1. Angular handle routing
2. Angular application gives my some js files and index.html file, that I should place under public_html/. and if I do place index.html to in that folder CI's index.php won't run I guess.
Reply


Messages In This Thread
CI + Angular 2-5 - by neuron - 04-16-2018, 11:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB