I was looking at other js frameworks that use render: function(){
}So if there was a way to to do that in Angular and pass the html direct to the success / error. For my Cake set up I return a json respose and if needed also contains the html so it look like response.content // the html response.status, response.errors and what not. I do not want to lose all the goodness that comes with Cakes views, especially forms and the elements since they come in handy. Security, session or what not. Have not tried it yet but maybe we can put our heads together and come up with something. Dave Maharaj Freelance Designer | Developer Description: header_logo www.movepixels.com | <mailto:[email protected]> [email protected] | 709.800.0852 From: [email protected] [mailto:[email protected]] On Behalf Of Jeff Adams Sent: Monday, February 17, 2014 6:50 PM To: [email protected] Subject: [AngularJS] Re: Angular with CakePHP I've got a similar question. I don't necessarily want to use Angular's routes, I've got CakePHP's views for that. I guess what I'm asking is how to integrate Angular with an existing mvc app but not have all the routing generated by Angular? On Saturday, February 15, 2014 12:42:49 PM UTC-6, [email protected] wrote: Hello all, I am just starting out with Angular and would like to implement it into an existing project / app built with CakePHP but am a little lost on how to go about this. Where to start and correct way to do so. As CakePHP is a MVC framework it has its views and re-used small code blocks called Elements. Fisrt looking at Angular I see partials and in some of the app.js if route is '/' then it renders this view or what not. Is there a way to still use a frameworks native views / elements what ever the framework might call it in conjunction with Angular? Thanks, Dave -- You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/7YT8441sLc0/unsubscribe. To unsubscribe from this group and all its topics, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
<<image001.jpg>>
