I want to use angular js framework with Phalcon. But I want to point to an index.html and let angular handle the routing and disable views in Phalcon or use micro app in Phalcon. How can I accomplish this? I'm using nginx to server the app.
Try this app, it's built with Angular+Phalcon https://github.com/niden/phalcon-angular-harryhogfootball
it would be great if you could share your solution with us :) Struggling with the same problem right now.
Best Regards, Patrick
This video on Youtube just solved my problem. It shows how to setup a Phalcon project, integrate some statistic content with Angular routes and fetch data via Phalcon from the database.
Just clicking the link isnt working. Try copy pasting it in your browser!
The above link is blank .Please define the steps how to add/combine angular with Phalcon.
<VirtualHost *:80> DocumentRoot /var/www/html/angular-app ServerName ui.local Alias /api/v1 /var/www/html/phacon-api/v1/public <Directory "/var/www/html/angular-app"> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> <Directory "/var/www/html/phalcon-api/v1/public"> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> </VirtualHost>
I'm working on an application using Angular and Phalcon. I setup two different projects, one for Angular and one for Phalcon. Then just added Phalcon as an Alias. For me, the separation has worked nicely.