• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Angular 4 and CodeIgniter 3

#1
Is there a way to have this two working together but not having Angular as a project and CI as another.
I need CI to start all, my app is in apache and I don't want to start Angular separately from CI. They both should be in one project. If you have a setup please let me know.

Angular generates a html file and CI loads view a php file which has html inside, how should this be working?

I use Angular 4, CI3
Reply

#2
I have not used Angular 4 so please take this with a pinch of salt.

As i understand it Angular is a Javascript Frame work. You load in the required files in your <head> and just add the js code to your html sections in your view files. When PHP creates your files it creates a html which is then send to the browser and your browser will start Angular.

I dont think there is anything you need to do in CI.
On the package it said needs Windows 7 or better. So I installed Linux.
Reply

#3
I had a quick look at Angular and its not just a JS framework.
Better ignore my previous post and wait for a reply from somebody who knows what they taking about.
On the package it said needs Windows 7 or better. So I installed Linux.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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