• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI + Angular 2-5

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:

        //general user controllers
        //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.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.